Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructure API object attributes #16

Open
wants to merge 78 commits into
base: master
Choose a base branch
from

Conversation

amilligan
Copy link
Contributor

This series of changes encapsulates the processing of parameters, and the generation of JSON for requests, into the individual API objects. It also adds to the Onfleet object DSL to define how object parameters should be processed and converted to JSON.

These changes fix issues #11 and #12.

amilligan added 30 commits May 13, 2018 18:26
rubocop:
- Layout/EmptyLines
- Layout/EmptyLinesAroundAccessModifier
- Layout/EmptyLinesAroundBlockBody
- Layout/EmptyLinesAroundClassBody
- Layout/EmptyLinesAroundMethodBody
- Layout/EmptyLinesAroundModuleBody
- Layout/ExtraSpacing
rubocop:
- Layout/IndentationConsistency
- Layout/IndentationWidth
- Layout/MultilineMethodCallIndentation
rubocop:
- Layout/SpaceAfterComma
- Layout/SpaceAroundEqualsInParameterDefault
- Layout/SpaceAroundOperators
- Layout/SpaceInsideBlockBraces
- Layout/SpaceInsideHashLiteralBraces
rubocop: Layout/TrailingBlankLines
rubocop: Lint/AmbiguousRegexpLiteral
rubocop: Lint/AssignmentInConditions
rubocop: Lint/DuplicateMethods
rubocop: Lint/IneffectiveAccessModifier
rubocop: Lint/UriEscapeUnescape
rubocop: Lint/UselessAssignment
rubocop: Performance/RedundantMerge
rubocop:
- Style/BracesAroundHashParameters
- Style/EmptyLiteral
- Style/EmptyMethod
- Style/MethodDefParentheses
rubocop: Style/StringLiterals
rubocop: Style/UnneededInterpolation
rubocop: Style/RedundantSelf
rubocop: Style/Next
rubocop: Style/NegatedIf
rubocop: Style/MutableConstant
rubocop: Style/InverseMethods
rubocop: Style/IfUnlessModifier
rubocop: Style/GuardClause
rubocop: Style/ExpandPathArguments
rubocop: Style/ConditionalAssignment
rubocop: Style/ClassCheck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant