lib/twilio-ruby/rest/verify/v2/template.rb in twilio-ruby-6.0.0.pre.rc.2 vs lib/twilio-ruby/rest/verify/v2/template.rb in twilio-ruby-6.0.0.pre.rc.3

- old
+ new

@@ -32,11 +32,11 @@ ## # Lists TemplateInstance records from the API as a list. # Unlike stream(), this operation is eager and will load `limit` records into # memory before returning. - # @param [String] friendly_name String filter used to query templates with a given friendly name + # @param [String] friendly_name String filter used to query templates with a given friendly name. # @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 @@ -52,11 +52,11 @@ ## # Streams Instance records from the API as an Enumerable. # This operation lazily loads records as efficiently as possible until the limit # is reached. - # @param [String] friendly_name String filter used to query templates with a given friendly name + # @param [String] friendly_name String filter used to query templates with a given friendly name. # @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 @@ -87,11 +87,11 @@ end ## # Retrieve a single page of TemplateInstance records from the API. # Request is executed immediately. - # @param [String] friendly_name String filter used to query templates with a given friendly name + # @param [String] friendly_name String filter used to query templates with a given friendly name. # @param [String] page_token PageToken provided by the API # @param [Integer] page_number Page Number, this value is simply for client state # @param [Integer] page_size Number of records to return, defaults to 50 # @return [Page] Page of TemplateInstance def page(friendly_name: :unset, page_token: :unset, page_number: :unset, page_size: :unset) @@ -193,16 +193,16 @@ def account_sid @properties['account_sid'] end ## - # @return [String] A descriptive string that you create to describe a Template. + # @return [String] A descriptive string that you create to describe a Template. It can be up to 32 characters long. def friendly_name @properties['friendly_name'] end ## - # @return [Array<String>] A list of channels that support the Template. Can include: sms, voice + # @return [Array<String>] A list of channels that support the Template. Can include: sms, voice. def channels @properties['channels'] end ##