lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb in twilio-ruby-5.26.0 vs lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb in twilio-ruby-5.27.0

- old
+ new

@@ -14,12 +14,12 @@ 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/services) the Role resource is - # associated with. + # [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) # Path Solution @@ -31,12 +31,12 @@ # Retrieve a single page of RoleInstance records from the API. # Request is executed immediately. # @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/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] Newly created RoleInstance @@ -177,12 +177,12 @@ 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/services) to fetch the Role - # resource from. + # [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) @@ -253,11 +253,11 @@ ## # 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/services) the Role resource is - # associated with. + # [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