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

Add support for brand create #62

Merged
merged 5 commits into from
Mar 15, 2019
Merged

Add support for brand create #62

merged 5 commits into from
Mar 15, 2019

Conversation

nukosuke
Copy link
Owner

@nukosuke nukosuke commented Mar 11, 2019

  • struct
  • API interface
  • Create implementation
  • test

@nukosuke nukosuke self-assigned this Mar 11, 2019
@nukosuke nukosuke force-pushed the brand-create branch 2 times, most recently from 8e4feab to e43b344 Compare March 11, 2019 15:34
@nukosuke nukosuke added this to the v0.2.0 milestone Mar 12, 2019
@nukosuke nukosuke mentioned this pull request Mar 13, 2019
@nukosuke
Copy link
Owner Author

nukosuke commented Mar 13, 2019

Need to prepare brand fixture

udpate 19.03.15: done 8eee782

@nukosuke
Copy link
Owner Author

@tamccall Would you review this?

@nukosuke nukosuke mentioned this pull request Mar 15, 2019
4 tasks
@nukosuke nukosuke added the API Support New API support label Mar 15, 2019

// CreateBrand creates new brand
// https://developer.zendesk.com/rest_api/docs/support/brands#create-brand
func (z *Client) CreateBrand(brand Brand) (Brand, error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is fine but there are a lot of places in here where this receiver is not a pointer.

We might need to create an issue to update all of those.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I opened new issue about this #80

Copy link
Contributor

@tamccall tamccall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had a small comment concerning our func receivers in this package generally, but this pr LGTM.

@nukosuke nukosuke merged commit 7059094 into master Mar 15, 2019
@nukosuke nukosuke deleted the brand-create branch March 15, 2019 12:01
fairyhunter13 added a commit to fairyhunter13/go-zendesk that referenced this pull request Jul 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Support New API support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants