Class: Stockboy::Readers::JSON
- Inherits:
-
Stockboy::Reader
- Object
- Stockboy::Reader
- Stockboy::Readers::JSON
- Defined in:
- lib/stockboy/readers/json.rb
Overview
Parse data from JSON into hashes
Instance Attribute Summary
Attributes inherited from Stockboy::Reader
Instance Method Summary collapse
Methods inherited from Stockboy::Reader
Constructor Details
This class inherits a constructor from Stockboy::Reader
Instance Method Details
#parse(data) ⇒ Object
11 12 13 |
# File 'lib/stockboy/readers/json.rb', line 11 def parse(data) ::JSON.parse(data) end |