Class: Ronin::DB::SoftwareVendor

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

Overview

Represents a Software vendor.

Instance Attribute Summary collapse

Attributes included from Model::HasUniqueName

#name

Method Summary

Methods included from Model::HasUniqueName

included

Methods included from Model

included

Instance Attribute Details

#idInteger

The primary-key of the vendor

Returns:

  • (Integer)


38
# File 'lib/ronin/db/software_vendor.rb', line 38

attribute :id, :integer

#softwareArray<Software>

Products published by the vendor

Returns:



44
45
# File 'lib/ronin/db/software_vendor.rb', line 44

has_many :software, class_name: 'Software',
foreign_key: :vendor_id