Module: RunningCount::Format
- Defined in:
- lib/running_count/format.rb
Class Method Summary collapse
Class Method Details
.item(destination) ⇒ Object
8 9 10 11 12 |
# File 'lib/running_count/format.rb', line 8 def item(destination) JSON.generate( destination.id ) end |
.parse(item) ⇒ Object
14 15 16 |
# File 'lib/running_count/format.rb', line 14 def parse(item) JSON.parse(item) end |