Class: PikoStore::Document
- Inherits:
-
BaseDocument
- Object
- BaseDocument
- PikoStore::Document
- Defined in:
- lib/piko_store/document.rb
Instance Method Summary collapse
Methods inherited from BaseDocument
Methods included from Logger
Constructor Details
This class inherits a constructor from PikoStore::BaseDocument
Instance Method Details
#id ⇒ Object
24 25 26 |
# File 'lib/piko_store/document.rb', line 24 def id @id ||= converted_id || generated_id end |
#to_h ⇒ Object
28 29 30 |
# File 'lib/piko_store/document.rb', line 28 def to_h data_with_converted_id end |