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::FlexApi::V2::WebChannelsList
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
| 21 22 23 24 25 | # File 'lib/twilio-ruby/rest/flex_api/v2.rb', line 21 def initialize(domain) super @version = 'v2' @web_channels = nil end | 
Instance Method Details
#to_s ⇒ Object
Provide a user friendly representation
| 34 35 36 | # File 'lib/twilio-ruby/rest/flex_api/v2.rb', line 34 def to_s '<Twilio::REST::FlexApi::V2>'; end | 
#web_channels ⇒ Twilio::REST::FlexApi::V2::WebChannelsList
| 29 30 31 | # File 'lib/twilio-ruby/rest/flex_api/v2.rb', line 29 def web_channels @web_channels ||= WebChannelsList.new self end |