lib/twilio-ruby/rest/api/v2010/account.rb in twilio-ruby-5.6.3 vs lib/twilio-ruby/rest/api/v2010/account.rb in twilio-ruby-5.6.4
- old
+ new
@@ -52,10 +52,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(friendly_name: :unset, status: :unset, limit: nil, page_size: nil)
- self.stream(friendly_name: friendly_name, status: status, limit: limit, page_size: page_size).entries
+ self.stream(
+ friendly_name: friendly_name,
+ status: status,
+ limit: limit,
+ page_size: page_size
+ ).entries
end
##
# Streams AccountInstance 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