lib/twilio-ruby/rest/api/v2010/account/conference.rb in twilio-ruby-5.0.0 vs lib/twilio-ruby/rest/api/v2010/account/conference.rb in twilio-ruby-5.1.0

- old
+ new

@@ -39,15 +39,15 @@ # @param [String] friendly_name Only show results who's friendly name exactly # matches the string # @param [conference.Status] status A string representing the status of the # conference. May be `init`, `in-progress`, or `completed`. # @param [Integer] limit Upper limit for the number of records to return. stream() - # guarantees to never return more than limit. Default is no limit - # @param [Integer] page_size Number of records to fetch per request, when 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) + # guarantees to never return more than limit. Default is no limit + # @param [Integer] page_size Number of records to fetch per request, when + # 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(date_created_before: :unset, date_created: :unset, date_created_after: :unset, date_updated_before: :unset, date_updated: :unset, date_updated_after: :unset, friendly_name: :unset, status: :unset, limit: nil, page_size: nil) self.stream( date_created_before: date_created_before, date_created: date_created, @@ -74,15 +74,15 @@ # @param [Time] date_updated_after Filter by date updated # @param [String] friendly_name Only show results who's friendly name exactly # matches the string # @param [conference.Status] status A string representing the status of the # conference. May be `init`, `in-progress`, or `completed`. - # @param [Integer] limit Upper limit for the number of records to return. stream() - # guarantees to never return more than limit. Default is no limit - # @param [Integer] page_size Number of records to fetch per request, when 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) + # @param [Integer] limit Upper limit for the number of records to return. stream() + # guarantees to never return more than limit. Default is no limit. + # @param [Integer] page_size Number of records to fetch per request, when + # 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 [Enumerable] Enumerable that will yield up to limit results def stream(date_created_before: :unset, date_created: :unset, date_created_after: :unset, date_updated_before: :unset, date_updated: :unset, date_updated_after: :unset, friendly_name: :unset, status: :unset, limit: nil, page_size: nil) limits = @version.read_limits(limit, page_size) page = self.page( \ No newline at end of file