lib/twilio-ruby/rest/notify/v1/service/user/user_binding.rb in twilio-ruby-5.6.0 vs lib/twilio-ruby/rest/notify/v1/service/user/user_binding.rb in twilio-ruby-5.6.1

- old
+ new

@@ -100,11 +100,11 @@ # efficient page size, i.e. min(limit, 1000) # @return [Enumerable] Enumerable that will yield up to limit results def stream(start_date: :unset, end_date: :unset, tag: :unset, limit: nil, page_size: nil) limits = @version.read_limits(limit, page_size) - page = self.page(start_date: start_date, end_date: end_date, tag: tag, page_size: limits[:page_size]) + page = self.page(start_date: start_date, end_date: end_date, tag: tag, page_size: limits[:page_size], ) @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit]) end ## @@ -112,11 +112,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 @@ -216,11 +216,11 @@ # @return [UserBindingContext] UserBindingContext def initialize(version, service_sid, identity, sid) super(version) # Path Solution - @solution = {service_sid: service_sid, identity: identity, sid: sid} + @solution = {service_sid: service_sid, identity: identity, sid: sid, } @uri = "/Services/#{@solution[:service_sid]}/Users/#{@solution[:identity]}/Bindings/#{@solution[:sid]}" end ## # Fetch a UserBindingInstance @@ -290,10 +290,10 @@ 'links' => payload['links'], } # Context @instance_context = nil - @params = {'service_sid' => service_sid, 'identity' => identity, 'sid' => sid || @properties['sid']} + @params = {'service_sid' => service_sid, 'identity' => identity, '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