lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb in twilio-ruby-5.40.3 vs lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb in twilio-ruby-5.40.4
- old
+ new
@@ -14,11 +14,11 @@
class RoleList < ListResource
##
# Initialize the RoleList
# @param [Version] version Version that contains the resource
# @param [String] service_sid The SID of the
- # [Service](https://www.twilio.com/docs/api/chat/rest/services) the resource is
+ # {Service}[https://www.twilio.com/docs/api/chat/rest/services] the resource is
# associated with.
# @return [RoleList] RoleList
def initialize(version, service_sid: nil)
super(version)
@@ -30,12 +30,12 @@
##
# Create the RoleInstance
# @param [String] friendly_name A descriptive string that you create to describe
# the new resource. It can be up to 64 characters long.
# @param [role.RoleType] type The type of role. Can be: `channel` for
- # [Channel](https://www.twilio.com/docs/chat/api/channels) roles or `deployment`
- # for [Service](https://www.twilio.com/docs/chat/api/services) roles.
+ # {Channel}[https://www.twilio.com/docs/chat/api/channels] roles or `deployment`
+ # for {Service}[https://www.twilio.com/docs/chat/api/services] roles.
# @param [String] permission A permission that you grant to the new role. Only one
# permission can be granted per parameter. To assign more than one permission,
# repeat this parameter for each permission value. The values for this parameter
# depend on the role's `type` and are described in the documentation.
# @return [RoleInstance] Created RoleInstance
@@ -170,11 +170,11 @@
class RoleContext < InstanceContext
##
# Initialize the RoleContext
# @param [Version] version Version that contains the resource
# @param [String] service_sid The SID of the
- # [Service](https://www.twilio.com/docs/api/chat/rest/services) to fetch the
+ # {Service}[https://www.twilio.com/docs/api/chat/rest/services] to fetch the
# resource from.
# @param [String] sid The Twilio-provided string that uniquely identifies the Role
# resource to fetch.
# @return [RoleContext] RoleContext
def initialize(version, service_sid, sid)
@@ -235,10 +235,10 @@
##
# Initialize the RoleInstance
# @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/api/chat/rest/services) the resource is
+ # {Service}[https://www.twilio.com/docs/api/chat/rest/services] the resource is
# associated with.
# @param [String] sid The Twilio-provided string that uniquely identifies the Role
# resource to fetch.
# @return [RoleInstance] RoleInstance
def initialize(version, payload, service_sid: nil, sid: nil)
\ No newline at end of file