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

Balanced::Event.all request times out #84

Open
rloomba opened this issue May 13, 2013 · 1 comment
Open

Balanced::Event.all request times out #84

rloomba opened this issue May 13, 2013 · 1 comment

Comments

@rloomba
Copy link
Contributor

rloomba commented May 13, 2013

require 'balanced'
Balanced.configure('3bfbbc04b76711e282ba026ba7cd33d0')

marketplace = Balanced::Marketplace.my_marketplace
events = Balanced::Event.all(:limit => 2)

This example taken from https://docs.balancedpayments.com/current/api?language=ruby#list-all-events hangs and then eventually times out

@mjallday
Copy link
Contributor

The issue appears to be that it's fetching all the events, two at a time. E.g. the limit param is not working how we would expect it to work but instead is acting as a page size param.

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

No branches or pull requests

2 participants