Class: Twilio::REST::FlexApi::V2::WebChannelsInstance

Inherits:
InstanceResource show all
Defined in:
lib/twilio-ruby/rest/flex_api/v2/web_channels.rb

Instance Method Summary collapse

Constructor Details

#initialize(version, payload) ⇒ WebChannelsInstance

Initialize the WebChannelsInstance



112
113
114
115
116
117
118
119
120
# File 'lib/twilio-ruby/rest/flex_api/v2/web_channels.rb', line 112

def initialize(version, payload )
    super(version)
    
    # Marshaled Properties
    @properties = { 
        'conversation_sid' => payload['conversation_sid'],
        'identity' => payload['identity'],
    }
end

Instance Method Details

#conversation_sidString



125
126
127
# File 'lib/twilio-ruby/rest/flex_api/v2/web_channels.rb', line 125

def conversation_sid
    @properties['conversation_sid']
end

#identityString



131
132
133
# File 'lib/twilio-ruby/rest/flex_api/v2/web_channels.rb', line 131

def identity
    @properties['identity']
end

#inspectObject

Provide a detailed, user friendly representation



143
144
145
# File 'lib/twilio-ruby/rest/flex_api/v2/web_channels.rb', line 143

def inspect
    "<Twilio.FlexApi.V2.WebChannelsInstance>"
end

#to_sObject

Provide a user friendly representation



137
138
139
# File 'lib/twilio-ruby/rest/flex_api/v2/web_channels.rb', line 137

def to_s
    "<Twilio.FlexApi.V2.WebChannelsInstance>"
end