Class: Phaxio::Resources::Fax::Reference

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Instance Attribute Details

#idInteger

Returns The ID of the fax being referenced.

Returns:

  • (Integer)

    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

#getPhaxio::Resources::Fax Also known as: retrieve, find

Gets the referenced fax.

Returns:


89
90
91
# File 'lib/phaxio/resources/fax.rb', line 89

def get
  Fax.get self
end

#to_iObject


95
96
97
# File 'lib/phaxio/resources/fax.rb', line 95

def to_i
  id
end