lib/twilio-ruby/rest/api/v2010/account/message/media.rb in twilio-ruby-5.4.4 vs lib/twilio-ruby/rest/api/v2010/account/message/media.rb in twilio-ruby-5.4.5
- old
+ new
@@ -83,11 +83,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
@@ -183,10 +183,10 @@
# @return [MediaContext] MediaContext
def initialize(version, account_sid, message_sid, sid)
super(version)
# Path Solution
- @solution = {account_sid: account_sid, message_sid: message_sid, sid: sid,}
+ @solution = {account_sid: account_sid, message_sid: message_sid, sid: sid}
@uri = "/Accounts/#{@solution[:account_sid]}/Messages/#{@solution[:message_sid]}/Media/#{@solution[:sid]}.json"
end
##
# Deletes the MediaInstance
\ No newline at end of file