lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb in twilio-ruby-5.40.3 vs lib/twilio-ruby/rest/ip_messaging/v2/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/chat/rest/service-resource) the Role
+ # {Service}[https://www.twilio.com/docs/chat/rest/service-resource] the Role
# 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/channels) roles or `deployment` for
- # [Service](https://www.twilio.com/docs/chat/rest/service-resource) roles.
+ # {Channel}[https://www.twilio.com/docs/chat/channels] roles or `deployment` for
+ # {Service}[https://www.twilio.com/docs/chat/rest/service-resource] 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`.
# @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/chat/rest/service-resource) to fetch the
+ # {Service}[https://www.twilio.com/docs/chat/rest/service-resource] to fetch the
# Role resource from.
# @param [String] sid The SID of the Role resource to fetch.
# @return [RoleContext] RoleContext
def initialize(version, service_sid, sid)
super(version)
@@ -236,10 +236,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/chat/rest/service-resource) the Role
+ # {Service}[https://www.twilio.com/docs/chat/rest/service-resource] the Role
# resource is associated with.
# @param [String] sid The SID of the Role resource to fetch.
# @return [RoleInstance] RoleInstance
def initialize(version, payload, service_sid: nil, sid: nil)
super(version)
\ No newline at end of file