-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add create/1, update/2, and create_comment/2 to Ticket #4
Conversation
Co-authored-by: Brian Muller <bmuller@parallelmarkets.com>
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.
Sorry for the annoying comments. Just wanted to demonstrate that I was paying attention :)
@@ -5,15 +5,16 @@ defmodule Zendesk.Client.Operation do | |||
alias Zendesk.Client.Parser | |||
alias __MODULE__ | |||
|
|||
defstruct path: "/", type: :get, parser: &Parser.default_parse/1, params: [] | |||
defstruct path: "/", type: :get, parser: &Parser.default_parse/1, params: [], body: nil |
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.
👍
I could engage in more HTTP bike-shedding and suggest that we could send a body with get
s, but it'd be pointless and now I'm being super annoying. Apologies. Please don't randomly select me to host the next Happy Hour.
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.
You're right! But I don't think there are any get
endpoints in the API that accept a body, so think we should be good 😄
No description provided.