Class: RakutenWebService::Ichiba::Item
- Inherits:
-
Resource
- Object
- Resource
- RakutenWebService::Ichiba::Item
show all
- Defined in:
- lib/rakuten_web_service/ichiba/item.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Resource
#[], all, attribute, client, endpoint, #get_attribute, #initialize, resource_name, search, set_parser, set_resource_name
Class Method Details
.ranking(options = {}) ⇒ Object
7
8
9
|
# File 'lib/rakuten_web_service/ichiba/item.rb', line 7
def ranking(options={})
RakutenWebService::Ichiba::RankingItem.search(options)
end
|
Instance Method Details
#genre ⇒ Object
33
34
35
|
# File 'lib/rakuten_web_service/ichiba/item.rb', line 33
def genre
Genre.new(self.genre_id)
end
|
#shop ⇒ Object
37
38
39
40
41
42
43
44
|
# File 'lib/rakuten_web_service/ichiba/item.rb', line 37
def shop
Shop.new({
'shopName' => self.shop_name,
'shopCode' => self.shop_code,
'shopUrl' => self.shop_url,
'shopAffiliateUrl' => self.shop_affiliate_url
})
end
|