lib/twilio-ruby/rest/api/v2010/account/call/notification.rb in twilio-ruby-5.4.4 vs lib/twilio-ruby/rest/api/v2010/account/call/notification.rb in twilio-ruby-5.4.5
- old
+ new
@@ -85,11 +85,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
@@ -187,11 +187,11 @@
# @return [NotificationContext] NotificationContext
def initialize(version, account_sid, call_sid, sid)
super(version)
# Path Solution
- @solution = {account_sid: account_sid, call_sid: call_sid, sid: sid,}
+ @solution = {account_sid: account_sid, call_sid: call_sid, sid: sid}
@uri = "/Accounts/#{@solution[:account_sid]}/Calls/#{@solution[:call_sid]}/Notifications/#{@solution[:sid]}.json"
end
##
# Fetch a NotificationInstance
@@ -262,10 +262,10 @@
'response_headers' => payload['response_headers'],
}
# Context
@instance_context = nil
- @params = {'account_sid' => account_sid, 'call_sid' => call_sid, 'sid' => sid || @properties['sid'],}
+ @params = {'account_sid' => account_sid, 'call_sid' => call_sid, 'sid' => sid || @properties['sid']}
end
##
# Generate an instance context for the instance, the context is capable of
# performing various actions. All instance actions are proxied to the context
\ No newline at end of file