lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb in twilio-ruby-5.6.3 vs lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb in twilio-ruby-5.6.4
- old
+ new
@@ -35,10 +35,15 @@
# not set will use the default value of 50 records. If no page_size is defined
# but a limit is defined, stream() will attempt to read the limit with the most
# efficient page size, i.e. min(limit, 1000)
# @return [Array] Array of up to limit results
def list(binding_type: :unset, identity: :unset, limit: nil, page_size: nil)
- self.stream(binding_type: binding_type, identity: identity, limit: limit, page_size: page_size).entries
+ self.stream(
+ binding_type: binding_type,
+ identity: identity,
+ limit: limit,
+ page_size: page_size
+ ).entries
end
##
# Streams BindingInstance records from the API as an Enumerable.
# This operation lazily loads records as efficiently as possible until the limit
\ No newline at end of file