Class: Ronin::DB::OrganizationStreetAddress

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

Overview

Represents a Organization's street address.

Since:

  • 0.2.0

Instance Attribute Summary collapse

Method Summary

Methods included from Model

included

Instance Attribute Details

#created_atTime

Tracks when the organization street address was first created.

Returns:

  • (Time)


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

attribute :created_at, :datetime

#idInteger

The primary key of the organization street address.

Returns:

  • (Integer)


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

attribute :id, :integer

#organizationOrganization

The organization.

Returns:



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

belongs_to :organization

#street_addressStreetAddress

The street address.

Returns:



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

belongs_to :street_address