class Twilio::REST::Messaging::V1::UsecaseInstance
PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
Public Class Methods
new(version, payload)
click to toggle source
Initialize the UsecaseInstance
@param [Version] version Version
that contains the resource @param [Hash] payload payload that contains response from Twilio
@return [UsecaseInstance] UsecaseInstance
Calls superclass method
Twilio::REST::InstanceResource::new
# File lib/twilio-ruby/rest/messaging/v1/usecase.rb 83 def initialize(version, payload) 84 super(version) 85 86 # Marshaled Properties 87 @properties = {'usecases' => payload['usecases'], } 88 end
Public Instance Methods
inspect()
click to toggle source
Provide a detailed, user friendly representation
# File lib/twilio-ruby/rest/messaging/v1/usecase.rb 104 def inspect 105 "<Twilio.Messaging.V1.UsecaseInstance>" 106 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/messaging/v1/usecase.rb 98 def to_s 99 "<Twilio.Messaging.V1.UsecaseInstance>" 100 end