Class: IActionable::Objects::Identifier
- Inherits:
-
IActionableObject
- Object
- IActionableObject
- IActionable::Objects::Identifier
- Defined in:
- lib/iactionable/objects/identifier.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#id_hash ⇒ Object
Returns the value of attribute id_hash.
-
#id_type ⇒ Object
Returns the value of attribute id_type.
Instance Method Summary collapse
Methods inherited from IActionableObject
#initialize, timestamp_regexp, timestamp_to_seconds
Constructor Details
This class inherits a constructor from IActionable::Objects::IActionableObject
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/iactionable/objects/identifier.rb', line 4 def id @id end |
#id_hash ⇒ Object
Returns the value of attribute id_hash.
5 6 7 |
# File 'lib/iactionable/objects/identifier.rb', line 5 def id_hash @id_hash end |
#id_type ⇒ Object
Returns the value of attribute id_type.
6 7 8 |
# File 'lib/iactionable/objects/identifier.rb', line 6 def id_type @id_type end |
Instance Method Details
#to_hash ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/iactionable/objects/identifier.rb', line 8 def to_hash { "ID" => @id, "IDHash" => @id_hash, "IDType" => @id_type } end |