Class: Rakuten::Api::Recipe

Inherits:
Object
  • Object
show all
Defined in:
lib/rakuten/api/recipe.rb

Constant Summary collapse

CategoryList =
"Rakuten::Api::Recipe.category_list"
CategoryRanking =
"Rakuten::Api::Recipe.category_ranking"

Class Method Summary collapse

Class Method Details

.category_list(opts = {}) ⇒ Object

Recipe Category List API (version:2012-11-21)



13
14
15
# File 'lib/rakuten/api/recipe.rb', line 13

def category_list(opts={})
  Rakuten::Request.get("https://app.rakuten.co.jp/services/api/Recipe/CategoryList/20121121", opts.merge(Rakuten::Api.options))
end

.category_ranking(opts = {}) ⇒ Object

Recipe Category Ranking API (version:2012-11-21)



18
19
20
21
# File 'lib/rakuten/api/recipe.rb', line 18

def category_ranking(opts={})
  Rakuten::Request.get("https://app.rakuten.co.jp/services/api/Recipe/CategoryRanking/20121121", opts.merge(Rakuten::Api.options))

end