Class: Twilio::REST::VoiceBase
- Defined in:
- lib/twilio-ruby/rest/voice_base.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Domain
Instance Method Summary collapse
-
#initialize(twilio) ⇒ VoiceBase
constructor
Initialize voice domain.
-
#to_s ⇒ Object
Provide a user friendly representation.
Methods inherited from Domain
Constructor Details
#initialize(twilio) ⇒ VoiceBase
Initialize voice domain
19 20 21 22 23 24 |
# File 'lib/twilio-ruby/rest/voice_base.rb', line 19 def initialize(twilio) super(twilio) @base_url = "https://voice.twilio.com" @host = "voice.twilio.com" @port = 443 end |
Instance Method Details
#to_s ⇒ Object
Provide a user friendly representation
28 29 30 |
# File 'lib/twilio-ruby/rest/voice_base.rb', line 28 def to_s '<Twilio::REST::Voice>'; end |