Class: OperatingSystem
- Inherits:
-
Domain::Model
- Object
- Domain::Model
- OperatingSystem
- Defined in:
- lib/domain/operating_system/model.rb
Instance Attribute Summary collapse
-
#architecture ⇒ Object
Returns the value of attribute architecture.
-
#asset_type ⇒ Object
Returns the value of attribute asset_type.
-
#cpe ⇒ Object
Returns the value of attribute cpe.
-
#description ⇒ Object
Returns the value of attribute description.
-
#family ⇒ Object
Returns the value of attribute family.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#system ⇒ Object
Returns the value of attribute system.
-
#vendor ⇒ Object
Returns the value of attribute vendor.
-
#version ⇒ Object
Returns the value of attribute version.
Class Method Summary collapse
Methods inherited from Domain::Model
columns, from_csv, from_json, headers, #initialize, table_name, #to_csv, #to_hash, #to_s, view
Constructor Details
This class inherits a constructor from Domain::Model
Instance Attribute Details
#architecture ⇒ Object
Returns the value of attribute architecture.
6 7 8 |
# File 'lib/domain/operating_system/model.rb', line 6 def architecture @architecture end |
#asset_type ⇒ Object
Returns the value of attribute asset_type.
6 7 8 |
# File 'lib/domain/operating_system/model.rb', line 6 def asset_type @asset_type end |
#cpe ⇒ Object
Returns the value of attribute cpe.
6 7 8 |
# File 'lib/domain/operating_system/model.rb', line 6 def cpe @cpe end |
#description ⇒ Object
Returns the value of attribute description.
6 7 8 |
# File 'lib/domain/operating_system/model.rb', line 6 def description @description end |
#family ⇒ Object
Returns the value of attribute family.
6 7 8 |
# File 'lib/domain/operating_system/model.rb', line 6 def family @family end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/domain/operating_system/model.rb', line 6 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/domain/operating_system/model.rb', line 6 def name @name end |
#system ⇒ Object
Returns the value of attribute system.
6 7 8 |
# File 'lib/domain/operating_system/model.rb', line 6 def system @system end |
#vendor ⇒ Object
Returns the value of attribute vendor.
6 7 8 |
# File 'lib/domain/operating_system/model.rb', line 6 def vendor @vendor end |
#version ⇒ Object
Returns the value of attribute version.
6 7 8 |
# File 'lib/domain/operating_system/model.rb', line 6 def version @version end |
Class Method Details
.primary_key ⇒ Object
17 18 19 |
# File 'lib/domain/operating_system/model.rb', line 17 def self.primary_key 'id' end |