lib/twilio-ruby/rest/serverless/v1/service.rb in twilio-ruby-5.22.3 vs lib/twilio-ruby/rest/serverless/v1/service.rb in twilio-ruby-5.23.0
- old
+ new
@@ -176,11 +176,12 @@
# PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
class ServiceContext < InstanceContext
##
# Initialize the ServiceContext
# @param [Version] version Version that contains the resource
- # @param [String] sid The unique SID identifier of this Service.
+ # @param [String] sid Identifier of the Serverless Service Instance. Either a SID
+ # or UniqueName.
# @return [ServiceContext] ServiceContext
def initialize(version, sid)
super(version)
# Path Solution
@@ -323,10 +324,11 @@
class ServiceInstance < InstanceResource
##
# Initialize the ServiceInstance
# @param [Version] version Version that contains the resource
# @param [Hash] payload payload that contains response from Twilio
- # @param [String] sid The unique SID identifier of this Service.
+ # @param [String] sid Identifier of the Serverless Service Instance. Either a SID
+ # or UniqueName.
# @return [ServiceInstance] ServiceInstance
def initialize(version, payload, sid: nil)
super(version)
# Marshaled Properties
\ No newline at end of file