lib/twilio-ruby/rest/chat/v2/service/user.rb in twilio-ruby-5.40.3 vs lib/twilio-ruby/rest/chat/v2/service/user.rb in twilio-ruby-5.40.4
- old
+ new
@@ -14,11 +14,11 @@
class UserList < ListResource
##
# Initialize the UserList
# @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 User
+ # {Service}[https://www.twilio.com/docs/chat/rest/service-resource] the User
# resource is associated with.
# @return [UserList] UserList
def initialize(version, service_sid: nil)
super(version)
@@ -28,16 +28,16 @@
end
##
# Create the UserInstance
# @param [String] identity The `identity` value that uniquely identifies the new
- # resource's [User](https://www.twilio.com/docs/chat/rest/user-resource) within
- # the [Service](https://www.twilio.com/docs/chat/rest/service-resource). This
+ # resource's {User}[https://www.twilio.com/docs/chat/rest/user-resource] within
+ # the {Service}[https://www.twilio.com/docs/chat/rest/service-resource]. This
# value is often a username or email address. See the Identity documentation for
# more info.
# @param [String] role_sid The SID of the
- # [Role](https://www.twilio.com/docs/chat/rest/role-resource) to assign to the new
+ # {Role}[https://www.twilio.com/docs/chat/rest/role-resource] to assign to the new
# User.
# @param [String] attributes A valid JSON string that contains
# application-specific data.
# @param [String] friendly_name A descriptive string that you create to describe
# the new resource. This value is often used for display purposes.
@@ -177,11 +177,11 @@
class UserContext < InstanceContext
##
# Initialize the UserContext
# @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
# User resource from.
# @param [String] sid The SID of the User resource to fetch. This value can be
# either the `sid` or the `identity` of the User resource to fetch.
# @return [UserContext] UserContext
def initialize(version, service_sid, sid)
@@ -213,11 +213,11 @@
end
##
# Update the UserInstance
# @param [String] role_sid The SID of the
- # [Role](https://www.twilio.com/docs/chat/rest/role-resource) to assign to the
+ # {Role}[https://www.twilio.com/docs/chat/rest/role-resource] to assign to the
# User.
# @param [String] attributes A valid JSON string that contains
# application-specific data.
# @param [String] friendly_name A descriptive string that you create to describe
# the resource. It is often used for display purposes.
@@ -300,11 +300,11 @@
##
# Initialize the UserInstance
# @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 User
+ # {Service}[https://www.twilio.com/docs/chat/rest/service-resource] the User
# resource is associated with.
# @param [String] sid The SID of the User resource to fetch. This value can be
# either the `sid` or the `identity` of the User resource to fetch.
# @return [UserInstance] UserInstance
def initialize(version, payload, service_sid: nil, sid: nil)
@@ -443,10 +443,10 @@
end
##
# Update the UserInstance
# @param [String] role_sid The SID of the
- # [Role](https://www.twilio.com/docs/chat/rest/role-resource) to assign to the
+ # {Role}[https://www.twilio.com/docs/chat/rest/role-resource] to assign to the
# User.
# @param [String] attributes A valid JSON string that contains
# application-specific data.
# @param [String] friendly_name A descriptive string that you create to describe
# the resource. It is often used for display purposes.
\ No newline at end of file