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

Support request header update api #12

Merged
merged 1 commit into from Mar 29, 2017

Conversation

Projects
None yet
3 participants
@f96q
Copy link
Contributor

f96q commented Mar 27, 2017

No description provided.

@moriyoshi

This comment has been minimized.

Copy link
Contributor

moriyoshi commented Mar 28, 2017

When do we find the feature useful? Can you elaborate a bit more on this?

@f96q

This comment has been minimized.

Copy link
Contributor Author

f96q commented Mar 28, 2017

create or delete api request set error message locale.

Payjp::Customer.create({}, { Locale: 'ja' })
customer = Payjp::Customer.retrieve('cus_xxxxxxxxxxxxxxxxxxxxx')
customer.delete({}, { Locale: 'ja' })

This PR support update api.

customer = Payjp::Customer.retrieve('cus_xxxxxxxxxxxxxxxxxxxxx')
customer.save({}, { Locale: 'ja' })

@wozozo wozozo merged commit 96d8235 into payjp:master Mar 29, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@wozozo

This comment has been minimized.

Copy link
Contributor

wozozo commented Mar 29, 2017

🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment