Sha256: 66fb28e0159aca6da1a3463f018765ac3630bbf2066f3d543ca7d62d18136223

Contents?: true

Size: 382 Bytes

Versions: 7

Compression:

Stored size: 382 Bytes

Contents

require 'rakuten_web_service/resource'
require 'rakuten_web_service/ichiba/item'

module RakutenWebService
  module Ichiba
    class Shop < Resource
      attribute :shopName, :shopCode, :shopUrl, :shopAffiliateUrl

      def items(options={})
        options = options.merge(shop_code: self.code)
        RakutenWebService::Ichiba::Item.search(options)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rakuten_web_service-1.9.0 lib/rakuten_web_service/ichiba/shop.rb
rakuten_web_service-1.8.0 lib/rakuten_web_service/ichiba/shop.rb
rakuten_web_service-1.7.0 lib/rakuten_web_service/ichiba/shop.rb
rakuten_web_service-1.6.1 lib/rakuten_web_service/ichiba/shop.rb
rakuten_web_service-1.6.0 lib/rakuten_web_service/ichiba/shop.rb
rakuten_web_service-1.5.0 lib/rakuten_web_service/ichiba/shop.rb
rakuten_web_service-1.4.2 lib/rakuten_web_service/ichiba/shop.rb