Class: Phaxio::Resources::Ata::Reference

Inherits:
Object
  • Object
show all
Defined in:
lib/phaxio/resources/ata.rb

Overview

A reference to an ATA. This is returned by certain actions which don't return the full ATA.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#idInteger

Returns The ID of the referenced ATA.

Returns:

  • (Integer)

    The ID of the referenced ATA.


61
62
63
# File 'lib/phaxio/resources/ata.rb', line 61

def id
  @id
end

Instance Method Details

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

Gets the referenced ATA.

Returns:

  • (Phaxio::Resources::ATA)

69
70
71
# File 'lib/phaxio/resources/ata.rb', line 69

def get
  Ata.get self
end

#to_iObject


63
64
65
# File 'lib/phaxio/resources/ata.rb', line 63

def to_i
  id
end