Class: Twilio::REST::FlexApi::V2::WebChannelsInstance
- Inherits:
-
InstanceResource
- Object
- InstanceResource
- Twilio::REST::FlexApi::V2::WebChannelsInstance
- Defined in:
- lib/twilio-ruby/rest/flex_api/v2/web_channels.rb
Instance Method Summary collapse
-
#conversation_sid ⇒ String
The unique string representing the Conversation resource created.
-
#identity ⇒ String
The unique string representing the User created.
-
#initialize(version, payload) ⇒ WebChannelsInstance
constructor
Initialize the WebChannelsInstance.
-
#inspect ⇒ Object
Provide a detailed, user friendly representation.
-
#to_s ⇒ Object
Provide a user friendly representation.
Constructor Details
#initialize(version, payload) ⇒ WebChannelsInstance
Initialize the WebChannelsInstance
99 100 101 102 103 104 |
# File 'lib/twilio-ruby/rest/flex_api/v2/web_channels.rb', line 99 def initialize(version, payload) super(version) # Marshaled Properties @properties = {'conversation_sid' => payload['conversation_sid'], 'identity' => payload['identity'], } end |
Instance Method Details
#conversation_sid ⇒ String
Returns The unique string representing the Conversation resource created.
108 109 110 |
# File 'lib/twilio-ruby/rest/flex_api/v2/web_channels.rb', line 108 def conversation_sid @properties['conversation_sid'] end |
#identity ⇒ String
Returns The unique string representing the User created.
114 115 116 |
# File 'lib/twilio-ruby/rest/flex_api/v2/web_channels.rb', line 114 def identity @properties['identity'] end |
#inspect ⇒ Object
Provide a detailed, user friendly representation
126 127 128 |
# File 'lib/twilio-ruby/rest/flex_api/v2/web_channels.rb', line 126 def inspect "<Twilio.FlexApi.V2.WebChannelsInstance>" end |
#to_s ⇒ Object
Provide a user friendly representation
120 121 122 |
# File 'lib/twilio-ruby/rest/flex_api/v2/web_channels.rb', line 120 def to_s "<Twilio.FlexApi.V2.WebChannelsInstance>" end |