lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb in twilio-ruby-5.6.0 vs lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb in twilio-ruby-5.6.1
- old
+ new
@@ -147,11 +147,11 @@
# efficient page size, i.e. min(limit, 1000)
# @return [Enumerable] Enumerable that will yield up to limit results
def stream(muted: :unset, hold: :unset, limit: nil, page_size: nil)
limits = @version.read_limits(limit, page_size)
- page = self.page(muted: muted, hold: hold, page_size: limits[:page_size])
+ page = self.page(muted: muted, hold: hold, page_size: limits[:page_size], )
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
end
##
@@ -159,11 +159,11 @@
# This operation lazily loads records as efficiently as possible until the limit
# is reached.
def each
limits = @version.read_limits
- page = self.page(page_size: limits[:page_size])
+ page = self.page(page_size: limits[:page_size], )
@version.stream(page,
limit: limits[:limit],
page_limit: limits[:page_limit]).each {|x| yield x}
end
@@ -258,10 +258,10 @@
# @return [ParticipantContext] ParticipantContext
def initialize(version, account_sid, conference_sid, call_sid)
super(version)
# Path Solution
- @solution = {account_sid: account_sid, conference_sid: conference_sid, call_sid: call_sid}
+ @solution = {account_sid: account_sid, conference_sid: conference_sid, call_sid: call_sid, }
@uri = "/Accounts/#{@solution[:account_sid]}/Conferences/#{@solution[:conference_sid]}/Participants/#{@solution[:call_sid]}.json"
end
##
# Fetch a ParticipantInstance
\ No newline at end of file