-
Notifications
You must be signed in to change notification settings - Fork 52
Added Custom SDK for Join It #109
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
base: master
Are you sure you want to change the base?
Conversation
| delete("https://www.joinit.org/api/v1/organizations/me/webhooks?_id=#{webhook['_id']}") | ||
| }, | ||
|
|
||
| dedup: ->(memberships) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Layout/AlignHash: Align the elements of a hash literal if they span more than one line.
Style/Lambda: Use the lambda method for multiline lambdas.
| }, | ||
|
|
||
| webhook_unsubscribe: ->(webhook) { | ||
| delete("https://www.joinit.org/api/v1/organizations/me/webhooks?_id=#{webhook['_id']}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Metrics/LineLength: Line is too long. [95/80]
| event: "updated") | ||
| }, | ||
|
|
||
| webhook_unsubscribe: ->(webhook) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Layout/AlignHash: Align the elements of a hash literal if they span more than one line.
Style/Lambda: Use the lambda method for multiline lambdas.
| resource: "memberships", | ||
| event: "updated") | ||
| }, | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Layout/TrailingWhitespace: Trailing whitespace detected.
| object_id: webhook_url, | ||
| resource: "memberships", | ||
| event: "updated") | ||
| }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Layout/BlockAlignment: } at 363, 6 is not aligned with ->(webhook_url, connection, input, recipe_id) { at 356, 26 or webhook_subscribe: ->(webhook_url, connection, input, recipe_id) { at 356, 7.
| } | ||
| }, | ||
|
|
||
| updated_memberships: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Layout/AlignHash: Align the elements of a hash literal if they span more than one line.
| object_definitions['memberships'] | ||
| } | ||
| }, | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Layout/TrailingWhitespace: Trailing whitespace detected.
| payload | ||
| }, | ||
|
|
||
| output_fields: ->(object_definitions) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Layout/AlignHash: Align the elements of a hash literal if they span more than one line.
Style/Lambda: Use the lambda method for multiline lambdas.
| memberships['_id'] | ||
| }, | ||
|
|
||
| webhook_notification: ->(input, payload) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Layout/AlignHash: Align the elements of a hash literal if they span more than one line.
Style/Lambda: Use the lambda method for multiline lambdas.
Lint/UnusedBlockArgument: Unused block argument - input. If it's necessary, use _ or _input as an argument name to indicate that it won't be used.
| dedup: ->(memberships) { | ||
| memberships['_id'] | ||
| }, | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Layout/TrailingWhitespace: Trailing whitespace detected.
No description provided.