Class: Twilio::REST::TaskrouterBase
- Defined in:
- lib/twilio-ruby/rest/taskrouter_base.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Domain
Instance Method Summary collapse
-
#initialize(twilio) ⇒ TaskrouterBase
constructor
Initialize taskrouter domain.
-
#to_s ⇒ Object
Provide a user friendly representation.
- #v1 ⇒ Object
Methods inherited from Domain
Constructor Details
#initialize(twilio) ⇒ TaskrouterBase
Initialize taskrouter domain
19 20 21 22 23 24 25 |
# File 'lib/twilio-ruby/rest/taskrouter_base.rb', line 19 def initialize(twilio) super(twilio) @base_url = "https://taskrouter.twilio.com" @host = "taskrouter.twilio.com" @port = 443 @v1 = nil end |
Instance Method Details
#to_s ⇒ Object
Provide a user friendly representation
33 34 35 |
# File 'lib/twilio-ruby/rest/taskrouter_base.rb', line 33 def to_s '<Twilio::REST::Taskrouter::V1>'; end |
#v1 ⇒ Object
27 28 29 |
# File 'lib/twilio-ruby/rest/taskrouter_base.rb', line 27 def v1 @v1 ||= Taskrouter::V1.new self end |