Sha256: 68498c104656a8a9a34189ba227103387dcba5e88be8883b7b0c169e30f27371
Contents?: true
Size: 1.04 KB
Versions: 3
Compression:
Stored size: 1.04 KB
Contents
module RakutenWebService module Ichiba class Item < Resource class << self def parse_response(response) response['Items'].map { |item| Item.new(item['Item']) } end def ranking(options) RakutenWebService::Ichiba::RankingItem.search(options) end end endpoint 'https://app.rakuten.co.jp/services/api/IchibaItem/Search/20130805' attribute :itemName, :catchcopy, :itemCode, :itemPrice, :itemCaption, :itemUrl, :affiliateUrl, :imageFlag, :smallImageUrls, :mediumImageUrls, :availability, :taxFlag, :postageFlag, :creditCardFlag, :shopOfTheYearFlag, :shipOverseasFlag, :shipOverseasArea, :asurakuFlag, :asurakuClosingTime, :asurakuArea, :affiliateRate, :startTime, :endTime, :reviewCount, :reviewAverage, :pointRate, :pointRateStartTime, :pointRateEndTime< :shopName, :shopCode, :shopUrl, :genreId def genre Genre[self.genre_id] end end end end
Version data entries
3 entries across 3 versions & 1 rubygems