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
| 12 13 14 15 16 17 18 19 20 21 | # File 'lib/twilio-ruby/rest/fax.rb', line 12 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
| 33 34 35 | # File 'lib/twilio-ruby/rest/fax.rb', line 33 def faxes(sid=:unset) self.v1.faxes(sid) end | 
#to_s ⇒ Object
Provide a user friendly representation
| 39 40 41 | # File 'lib/twilio-ruby/rest/fax.rb', line 39 def to_s '#<Twilio::REST::Fax>' end |