Class: RakutenWebService::Ichiba::Genre
- Defined in:
- lib/rakuten_web_service/ichiba/genre.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from BaseGenre
[], []=, #brothers, #children, genre_id_key, inherited, #initialize, new, #parents, repository, root, root_id
Methods inherited from Resource
#==, #[], all, attribute, #attributes, endpoint, #get_attribute, inherited, #initialize, parser, search, subclasses
Constructor Details
This class inherits a constructor from RakutenWebService::BaseGenre
Instance Method Details
#products(options = {}) ⇒ Object
21 22 23 24 |
# File 'lib/rakuten_web_service/ichiba/genre.rb', line 21 def products( = {}) = .merge(genre_id: id) RakutenWebService::Ichiba::Product.search() end |
#ranking(options = {}) ⇒ Object
16 17 18 19 |
# File 'lib/rakuten_web_service/ichiba/genre.rb', line 16 def ranking( = {}) = .merge(genre_id: id) RakutenWebService::Ichiba::RankingItem.search() end |