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

find()
Alias for: get
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
Also aliased as: retrieve, find
retrieve()
Alias for: get
to_i() click to toggle source
# File lib/phaxio/resources/fax.rb, line 95
def to_i
  id
end