Sha256: 08140d4a46dbdf055ca42778632624dcf5bcad74ed56e711d07c28adfef12ea7
Contents?: true
Size: 386 Bytes
Versions: 7
Compression:
Stored size: 386 Bytes
Contents
require 'rakuten_web_service/ichiba/item' module RakutenWebService module Ichiba class RankingItem < RakutenWebService::Ichiba::Item endpoint 'https://app.rakuten.co.jp/services/api/IchibaItem/Ranking/20120927' attribute :rank def self.parse_response(response) response['Items'].map { |item| RankingItem.new(item['Item']) } end end end end
Version data entries
7 entries across 7 versions & 1 rubygems