Class: Twilio::REST::Fax
- Defined in:
- lib/twilio-ruby/rest/fax.rb,
lib/twilio-ruby/rest/fax/v1.rb,
lib/twilio-ruby/rest/fax/v1/fax.rb,
lib/twilio-ruby/rest/fax/v1/fax/fax_media.rb
Defined Under Namespace
Classes: V1
Instance Attribute Summary
Attributes inherited from Domain
Instance Method Summary collapse
- #faxes(sid = :unset) ⇒ Twilio::REST::Fax::V1::FaxInstance, Twilio::REST::Fax::V1::FaxList
-
#initialize(twilio) ⇒ Fax
constructor
Initialize the Fax Domain.
-
#to_s ⇒ Object
Provide a user friendly representation.
-
#v1 ⇒ Object
Version v1 of fax.
Methods inherited from Domain
Constructor Details
#initialize(twilio) ⇒ Fax
Initialize the Fax Domain
14 15 16 17 18 19 20 21 22 23 |
# File 'lib/twilio-ruby/rest/fax.rb', line 14 def initialize(twilio) super @base_url = 'https://fax.twilio.com' @host = 'fax.twilio.com' @port = 443 # Versions @v1 = nil end |
Instance Method Details
#faxes(sid = :unset) ⇒ Twilio::REST::Fax::V1::FaxInstance, Twilio::REST::Fax::V1::FaxList
36 37 38 |
# File 'lib/twilio-ruby/rest/fax.rb', line 36 def faxes(sid=:unset) self.v1.faxes(sid) end |
#to_s ⇒ Object
Provide a user friendly representation
42 43 44 |
# File 'lib/twilio-ruby/rest/fax.rb', line 42 def to_s '#<Twilio::REST::Fax>' end |