Class: Food2Fork::Recipe
- Defined in:
- lib/food2fork/recipe.rb
Class Method Summary collapse
Methods inherited from Document
demodulize, #fields, #initialize
Constructor Details
This class inherits a constructor from Food2Fork::Document
Class Method Details
.get(recipe_id) ⇒ Object
3 4 5 |
# File 'lib/food2fork/recipe.rb', line 3 def self.get(recipe_id) Client.make_request(Recipe, "/get", {rId: recipe_id}) end |
.search(params = {}) ⇒ Object
7 8 9 |
# File 'lib/food2fork/recipe.rb', line 7 def self.search(params = {}) Client.make_request(Recipe, "/search", params) end |