lib/twilio-ruby/rest/api/v2010/account/conference.rb in twilio-ruby-5.0.0.rc12 vs lib/twilio-ruby/rest/api/v2010/account/conference.rb in twilio-ruby-5.0.0.rc13
- old
+ new
@@ -93,14 +93,14 @@
date_updated_before: date_updated_before,
date_updated: date_updated,
date_updated_after: date_updated_after,
friendly_name: friendly_name,
status: status,
- page_size: limits['page_size'],
+ page_size: limits[:page_size],
)
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
+ @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
end
##
# When passed a block, yields ConferenceInstance records from the API.
# This operation lazily loads records as efficiently as possible until the limit
@@ -123,15 +123,15 @@
# limit with the most efficient page size, i.e. min(limit, 1000)
def each
limits = @version.read_limits
page = self.page(
- page_size: limits['page_size'],
+ page_size: limits[:page_size],
)
@version.stream(page,
- limit: limits['limit'],
- page_limit: limits['page_limit']).each {|x| yield x}
+ limit: limits[:limit],
+ page_limit: limits[:page_limit]).each {|x| yield x}
end
##
# Retrieve a single page of ConferenceInstance records from the API.
# Request is executed immediately.
\ No newline at end of file