Class: Ronin::DB::OrganizationPhoneNumber

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Model
Defined in:
lib/ronin/db/organization_phone_number.rb

Overview

Represents a Organization's phone number.

Since:

  • 0.2.0

Instance Attribute Summary collapse

Method Summary

Methods included from Model

included

Instance Attribute Details

#created_atTime

Tracks when the organization phone number was first created.

Returns:

  • (Time)


59
# File 'lib/ronin/db/organization_phone_number.rb', line 59

attribute :created_at, :datetime

#idInteger

The primary key of the organization phone number.

Returns:

  • (Integer)


40
# File 'lib/ronin/db/organization_phone_number.rb', line 40

attribute :id, :integer

#organizationOrganization

The organization.

Returns:



46
# File 'lib/ronin/db/organization_phone_number.rb', line 46

belongs_to :organization

#phone_numberPhoneNumber

The phone number.

Returns:



52
# File 'lib/ronin/db/organization_phone_number.rb', line 52

belongs_to :phone_number