Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Subscription.all #21

Closed
Noreaster76 opened this Issue Feb 21, 2012 · 1 comment

Comments

Projects
None yet
2 participants

It is possible to call Braintree::Customer.all, which simply returns a ResourceCollection of all Customer objects created in Braintree. Can you please provide the same for the Subscription object?

Owner

cmonty commented Feb 21, 2012

@Noreaster76,

While we don't have an all method for Subscriptions, you can duplicate the functionality by calling Braintree::Subscription.search and not passing a block.

For example: subscriptions = Braintree::Subscription.search

Sorry for the confusion!

Let me know if you have any questions,

Cory
Braintree Developer

@cmonty cmonty closed this Feb 21, 2012

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