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

Bulk allocations #125

Merged
merged 3 commits into from
Jan 4, 2016
Merged

Bulk allocations #125

merged 3 commits into from
Jan 4, 2016

Conversation

ryansch
Copy link
Contributor

@ryansch ryansch commented Dec 22, 2015

Adds Chargify::Allocations.bulk_create to work with https://docs.chargify.com/api-allocations#create-multiple-allocations.

I didn't explicitly require the use of json when calling this method but I'd be open to putting a guard at the top.

I also fixed a bug in the test suite where we were relying on the side effects of calling Chargify.configure in base_spec.rb.

Any spec run before base_spec.rb doesn't gain the benefits of
base_spec running `Chargify.configure` and therefore doesn't have
a site URI.
@morganick
Copy link

🎄 🎅 👍

@ryansch
Copy link
Contributor Author

ryansch commented Dec 22, 2015

Strange bundler failures on travis. Not sure what's up there as I didn't change anything in the Gemfile or gemspec.

@ryansch
Copy link
Contributor Author

ryansch commented Dec 22, 2015

There I fixed it ;-)

@morganick
Copy link

🌟

@ryansch
Copy link
Contributor Author

ryansch commented Jan 4, 2016

@speric Can I get a :shipit: ?

@speric
Copy link
Contributor

speric commented Jan 4, 2016

@ryansch yes!

speric added a commit that referenced this pull request Jan 4, 2016
@speric speric merged commit 55f6bd3 into chargify:master Jan 4, 2016
@npverni
Copy link
Contributor

npverni commented Jan 4, 2016

Looks good to me

@npverni
Copy link
Contributor

npverni commented Jan 4, 2016

Thanks for adding!

@speric
Copy link
Contributor

speric commented Jan 4, 2016

@ryansch ryansch deleted the bulk-allocations branch January 4, 2016 18:58
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.

4 participants