Class: Software
- Inherits:
-
Domain::Model
- Object
- Domain::Model
- Software
- Defined in:
- lib/domain/software/model.rb
Instance Attribute Summary collapse
-
#cpe ⇒ Object
Returns the value of attribute cpe.
-
#db_eos_date ⇒ Object
Returns the value of attribute db_eos_date.
-
#db_eos_source ⇒ Object
Returns the value of attribute db_eos_source.
-
#db_type ⇒ Object
Returns the value of attribute db_type.
-
#family ⇒ Object
Returns the value of attribute family.
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_db ⇒ Object
Returns the value of attribute is_db.
-
#is_db_eos ⇒ Object
Returns the value of attribute is_db_eos.
-
#is_db_eos_upcoming_6_12_months ⇒ Object
Returns the value of attribute is_db_eos_upcoming_6_12_months.
-
#is_db_eos_upcoming_6_months ⇒ Object
Returns the value of attribute is_db_eos_upcoming_6_months.
-
#name ⇒ Object
Returns the value of attribute name.
-
#software_class ⇒ Object
Returns the value of attribute software_class.
-
#vendor ⇒ Object
Returns the value of attribute vendor.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
Methods inherited from Domain::Model
columns, from_csv, from_json, headers, #initialize, primary_key, table_name, #to_csv, #to_hash, #to_s, view
Constructor Details
This class inherits a constructor from Domain::Model
Instance Attribute Details
#cpe ⇒ Object
Returns the value of attribute cpe.
6 7 8 |
# File 'lib/domain/software/model.rb', line 6 def cpe @cpe end |
#db_eos_date ⇒ Object
Returns the value of attribute db_eos_date.
6 7 8 |
# File 'lib/domain/software/model.rb', line 6 def db_eos_date @db_eos_date end |
#db_eos_source ⇒ Object
Returns the value of attribute db_eos_source.
6 7 8 |
# File 'lib/domain/software/model.rb', line 6 def db_eos_source @db_eos_source end |
#db_type ⇒ Object
Returns the value of attribute db_type.
6 7 8 |
# File 'lib/domain/software/model.rb', line 6 def db_type @db_type end |
#family ⇒ Object
Returns the value of attribute family.
6 7 8 |
# File 'lib/domain/software/model.rb', line 6 def family @family end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/domain/software/model.rb', line 6 def id @id end |
#is_db ⇒ Object
Returns the value of attribute is_db.
6 7 8 |
# File 'lib/domain/software/model.rb', line 6 def is_db @is_db end |
#is_db_eos ⇒ Object
Returns the value of attribute is_db_eos.
6 7 8 |
# File 'lib/domain/software/model.rb', line 6 def is_db_eos @is_db_eos end |
#is_db_eos_upcoming_6_12_months ⇒ Object
Returns the value of attribute is_db_eos_upcoming_6_12_months.
6 7 8 |
# File 'lib/domain/software/model.rb', line 6 def is_db_eos_upcoming_6_12_months @is_db_eos_upcoming_6_12_months end |
#is_db_eos_upcoming_6_months ⇒ Object
Returns the value of attribute is_db_eos_upcoming_6_months.
6 7 8 |
# File 'lib/domain/software/model.rb', line 6 def is_db_eos_upcoming_6_months @is_db_eos_upcoming_6_months end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/domain/software/model.rb', line 6 def name @name end |
#software_class ⇒ Object
Returns the value of attribute software_class.
6 7 8 |
# File 'lib/domain/software/model.rb', line 6 def software_class @software_class end |
#vendor ⇒ Object
Returns the value of attribute vendor.
6 7 8 |
# File 'lib/domain/software/model.rb', line 6 def vendor @vendor end |
#version ⇒ Object
Returns the value of attribute version.
6 7 8 |
# File 'lib/domain/software/model.rb', line 6 def version @version end |
Instance Method Details
#db? ⇒ Boolean
21 22 23 |
# File 'lib/domain/software/model.rb', line 21 def db? is_db == '1' end |