Class: Ronin::DB::OrganizationIPAddress

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

Overview

Represents an association between an Organization and a IPAddress.

Since:

  • 0.2.0

Instance Attribute Summary collapse

Method Summary

Methods included from Model

included

Instance Attribute Details

#created_atTime (readonly)

Tracks when the organization claimed ownership of the IP address.

Returns:

  • (Time)


58
# File 'lib/ronin/db/organization_ip_address.rb', line 58

attribute :created_at, :datetime

#idInteger

Primary key of the organization IP address.

Returns:

  • (Integer)


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

attribute :id, :integer

#ip_addressIPAddress

The IP address that the organization owns.

Returns:



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

belongs_to :ip_address, class_name: 'IPAddress'

#organizationOrganization

The organization that owns the IP address.

Returns:



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

belongs_to :organization