Class: DCA::Models::Position
- Defined in:
- lib/dca/models/position.rb
Constant Summary
Constants included from Binder
Instance Attribute Summary collapse
-
#checksum ⇒ Object
Returns the value of attribute checksum.
-
#published_at ⇒ Object
Returns the value of attribute published_at.
Attributes inherited from BaseModel
#base_id, #created_at, #id, #updated_at
Instance Method Summary collapse
-
#initialize(*args) ⇒ Position
constructor
A new instance of Position.
Methods inherited from BaseModel
#attributes, #before_create, #before_update, #persisted?, #to_hash, #validate_associations
Methods included from Storage
Methods included from Binder
Constructor Details
#initialize(*args) ⇒ Position
Returns a new instance of Position.
8 9 10 11 12 |
# File 'lib/dca/models/position.rb', line 8 def initialize(*args) # set instance variable id, need to place this attribute to hash, when id is not set. @id = nil super end |
Instance Attribute Details
#checksum ⇒ Object
Returns the value of attribute checksum.
4 5 6 |
# File 'lib/dca/models/position.rb', line 4 def checksum @checksum end |
#published_at ⇒ Object
Returns the value of attribute published_at.
4 5 6 |
# File 'lib/dca/models/position.rb', line 4 def published_at @published_at end |