Class: Phaxio::Resources::Fax::Reference
- Inherits:
-
Object
- Object
- Phaxio::Resources::Fax::Reference
- Defined in:
- lib/phaxio/resources/fax.rb
Overview
A reference to a fax. This is returned by certain actions which don’t return the full fax.
Instance Attribute Summary collapse
-
#id ⇒ Integer
The ID of the fax being referenced.
Instance Method Summary collapse
-
#get ⇒ Phaxio::Resources::Fax
(also: #retrieve, #find)
Gets the referenced fax.
- #to_i ⇒ Object
Instance Attribute Details
#id ⇒ Integer
Returns The ID of the fax being referenced.
84 85 86 |
# File 'lib/phaxio/resources/fax.rb', line 84 def id @id end |
Instance Method Details
#get ⇒ Phaxio::Resources::Fax Also known as: retrieve, find
Gets the referenced fax.
89 90 91 |
# File 'lib/phaxio/resources/fax.rb', line 89 def get Fax.get self end |
#to_i ⇒ Object
95 96 97 |
# File 'lib/phaxio/resources/fax.rb', line 95 def to_i id end |