class Phaxio::Resources::Fax::Reference
A reference to a fax. This is returned by certain actions which don't return the full fax.
Attributes
id[RW]
@return [Integer]
The ID of the fax being referenced.
Public Class Methods
new(id)
click to toggle source
# File lib/phaxio/resources/fax.rb, line 101 def initialize id self.id = id end
Public Instance Methods
get()
click to toggle source
Gets the referenced fax. @return [Phaxio::Resource::Fax]
The referenced Fax.
# File lib/phaxio/resources/fax.rb, line 89 def get Fax.get self end
to_i()
click to toggle source
# File lib/phaxio/resources/fax.rb, line 95 def to_i id end