Class: Ronin::DB::SoftwareVendor
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Ronin::DB::SoftwareVendor
- Includes:
- Model, Model::HasUniqueName
- Defined in:
- lib/ronin/db/software_vendor.rb
Overview
Represents a Software vendor.
Instance Attribute Summary collapse
-
#id ⇒ Integer
The primary-key of the vendor.
-
#software ⇒ Array<Software>
Products published by the vendor.
Attributes included from Model::HasUniqueName
Method Summary
Methods included from Model::HasUniqueName
Methods included from Model
Instance Attribute Details
#id ⇒ Integer
The primary-key of the vendor
38 |
# File 'lib/ronin/db/software_vendor.rb', line 38 attribute :id, :integer |
#software ⇒ Array<Software>
Products published by the vendor
44 45 |
# File 'lib/ronin/db/software_vendor.rb', line 44 has_many :software, class_name: 'Software', foreign_key: :vendor_id |