Module: Synchroniser::Ingestor::Yql
- Includes:
- Synchroniser::Ingestor
- Defined in:
- lib/synchroniser/ingestor/yql.rb
Instance Attribute Summary
Attributes included from Synchroniser::Ingestor
Instance Method Summary collapse
Methods included from Synchroniser::Ingestor
Instance Method Details
#load(uri) ⇒ Object
10 11 12 13 |
# File 'lib/synchroniser/ingestor/yql.rb', line 10 def load(uri) resource = Yajl::HttpStream.get(build_url(url)) @data = resource['query']['results']['products']['product'] end |