lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb in twilio-ruby-5.40.3 vs lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb in twilio-ruby-5.40.4
- old
+ new
@@ -14,11 +14,11 @@
class BindingList < ListResource
##
# Initialize the BindingList
# @param [Version] version Version that contains the resource
# @param [String] service_sid The SID of the
- # [Service](https://www.twilio.com/docs/chat/rest/service-resource) the Binding
+ # {Service}[https://www.twilio.com/docs/chat/rest/service-resource] the Binding
# resource is associated with.
# @return [BindingList] BindingList
def initialize(version, service_sid: nil)
super(version)
@@ -30,18 +30,18 @@
##
# Lists BindingInstance records from the API as a list.
# Unlike stream(), this operation is eager and will load `limit` records into
# memory before returning.
# @param [binding.BindingType] binding_type The push technology used by the
- # Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See [push
+ # Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See {push
# notification
- # configuration](https://www.twilio.com/docs/chat/push-notification-configuration)
+ # configuration}[https://www.twilio.com/docs/chat/push-notification-configuration]
# for more info.
# @param [String] identity The
- # [User](https://www.twilio.com/docs/chat/rest/user-resource)'s `identity` value
- # of the resources to read. See [access
- # tokens](https://www.twilio.com/docs/chat/create-tokens) for more details.
+ # {User}[https://www.twilio.com/docs/chat/rest/user-resource]'s `identity` value
+ # of the resources to read. See {access
+ # tokens}[https://www.twilio.com/docs/chat/create-tokens] for more details.
# @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
@@ -59,18 +59,18 @@
##
# Streams BindingInstance records from the API as an Enumerable.
# This operation lazily loads records as efficiently as possible until the limit
# is reached.
# @param [binding.BindingType] binding_type The push technology used by the
- # Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See [push
+ # Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See {push
# notification
- # configuration](https://www.twilio.com/docs/chat/push-notification-configuration)
+ # configuration}[https://www.twilio.com/docs/chat/push-notification-configuration]
# for more info.
# @param [String] identity The
- # [User](https://www.twilio.com/docs/chat/rest/user-resource)'s `identity` value
- # of the resources to read. See [access
- # tokens](https://www.twilio.com/docs/chat/create-tokens) for more details.
+ # {User}[https://www.twilio.com/docs/chat/rest/user-resource]'s `identity` value
+ # of the resources to read. See {access
+ # tokens}[https://www.twilio.com/docs/chat/create-tokens] for more details.
# @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
@@ -100,18 +100,18 @@
##
# Retrieve a single page of BindingInstance records from the API.
# Request is executed immediately.
# @param [binding.BindingType] binding_type The push technology used by the
- # Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See [push
+ # Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See {push
# notification
- # configuration](https://www.twilio.com/docs/chat/push-notification-configuration)
+ # configuration}[https://www.twilio.com/docs/chat/push-notification-configuration]
# for more info.
# @param [String] identity The
- # [User](https://www.twilio.com/docs/chat/rest/user-resource)'s `identity` value
- # of the resources to read. See [access
- # tokens](https://www.twilio.com/docs/chat/create-tokens) for more details.
+ # {User}[https://www.twilio.com/docs/chat/rest/user-resource]'s `identity` value
+ # of the resources to read. See {access
+ # tokens}[https://www.twilio.com/docs/chat/create-tokens] for more details.
# @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 BindingInstance
def page(binding_type: :unset, identity: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
@@ -180,11 +180,11 @@
class BindingContext < InstanceContext
##
# Initialize the BindingContext
# @param [Version] version Version that contains the resource
# @param [String] service_sid The SID of the
- # [Service](https://www.twilio.com/docs/chat/rest/service-resource) to fetch the
+ # {Service}[https://www.twilio.com/docs/chat/rest/service-resource] to fetch the
# Binding resource from.
# @param [String] sid The SID of the Binding resource to fetch.
# @return [BindingContext] BindingContext
def initialize(version, service_sid, sid)
super(version)
@@ -229,10 +229,10 @@
##
# Initialize the BindingInstance
# @param [Version] version Version that contains the resource
# @param [Hash] payload payload that contains response from Twilio
# @param [String] service_sid The SID of the
- # [Service](https://www.twilio.com/docs/chat/rest/service-resource) the Binding
+ # {Service}[https://www.twilio.com/docs/chat/rest/service-resource] the Binding
# resource is associated with.
# @param [String] sid The SID of the Binding resource to fetch.
# @return [BindingInstance] BindingInstance
def initialize(version, payload, service_sid: nil, sid: nil)
super(version)
\ No newline at end of file