Class: Twilio::REST::FlexApi::V2
- Defined in:
- lib/twilio-ruby/rest/flex_api/v2.rb,
lib/twilio-ruby/rest/flex_api/v2/web_channels.rb
Defined Under Namespace
Classes: WebChannelsInstance, WebChannelsList, WebChannelsPage
Instance Attribute Summary
Attributes inherited from Version
Instance Method Summary collapse
-
#initialize(domain) ⇒ V2
constructor
Initialize the V2 version of FlexApi.
-
#to_s ⇒ Object
Provide a user friendly representation.
- #web_channels ⇒ Twilio::REST::Flex_api::V2::WebChannelsContext
Methods inherited from Version
#absolute_url, #create, #delete, #exception, #fetch, #page, #read_limits, #relative_uri, #request, #stream, #update
Constructor Details
#initialize(domain) ⇒ V2
Initialize the V2 version of FlexApi
15 16 17 18 19 |
# File 'lib/twilio-ruby/rest/flex_api/v2.rb', line 15 def initialize(domain) super @version = 'v2' @web_channels = nil end |
Instance Method Details
#to_s ⇒ Object
Provide a user friendly representation
29 30 31 |
# File 'lib/twilio-ruby/rest/flex_api/v2.rb', line 29 def to_s '<Twilio::REST::FlexApi::V2>' end |
#web_channels ⇒ Twilio::REST::Flex_api::V2::WebChannelsContext
23 24 25 |
# File 'lib/twilio-ruby/rest/flex_api/v2.rb', line 23 def web_channels @web_channels ||= WebChannelsList.new self end |