eventbrite-sdk-ruby
eventbrite-sdk-ruby copied to clipboard
[BUG] EventbriteSDK::Event.retrieve(id: EVENT_ID).attendees.page_count returns wrong page count
I just realized that following command returns 1, instead of the real total pages count:
EventbriteSDK::Event.retrieve(id: EVENT_ID).attendees.page_count
=> 1
whereas it should be higher?
When I query then following, it works (since there are more than 1 pages)
EventbriteSDK::Event.retrieve(id: EVENT_ID).attendees.page(3).to_a.count
=> ... success ...
Could you please confirm and fix this, if this is really a bug?
@jeff-eb Could you take a look at this maybe?