Class: AMarmita::Meals::Scrapper
- Defined in:
- lib/a_marmita/meals/scrapper.rb
Instance Attribute Summary
Attributes inherited from Scrapper
Instance Method Summary collapse
Methods inherited from Scrapper
#initialize, #scrap, #to_hash, #valid?
Constructor Details
This class inherits a constructor from AMarmita::Scrapper
Instance Method Details
#run(options = {}) ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/a_marmita/meals/scrapper.rb', line 6 def run( = {}) @attributes = { id: Helpers.to_int(get_id), name: get_name, type: get_type, price: get_price, description: get_description } end |