Class: Dynamicloud::API::Model::RecordModel
- Inherits:
-
Object
- Object
- Dynamicloud::API::Model::RecordModel
- Defined in:
- lib/dynamic_model.rb
Overview
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(id) ⇒ RecordModel
constructor
Constructs a model using its ID with Mapper.
Constructor Details
#initialize(id) ⇒ RecordModel
Constructs a model using its ID with Mapper
13 14 15 16 17 |
# File 'lib/dynamic_model.rb', line 13 def initialize(id) @id = id @name = nil @description = nil end |
Instance Attribute Details
#description ⇒ Object
9 10 11 |
# File 'lib/dynamic_model.rb', line 9 def description @description end |
#id ⇒ Object
9 10 11 |
# File 'lib/dynamic_model.rb', line 9 def id @id end |
#name ⇒ Object
9 10 11 |
# File 'lib/dynamic_model.rb', line 9 def name @name end |