Sha256: 694b3f0a5705c5e8465b0cb9c0d092ab5f820a0301b7a3a783e4c47aba8451b6

Contents?: true

Size: 366 Bytes

Versions: 9

Compression:

Stored size: 366 Bytes

Contents

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

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

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rakuten_web_service-0.6.3 lib/rakuten_web_service/ichiba/shop.rb
rakuten_web_service-0.6.2 lib/rakuten_web_service/ichiba/shop.rb
rakuten_web_service-0.6.1 lib/rakuten_web_service/ichiba/shop.rb
rakuten_web_service-0.6.0 lib/rakuten_web_service/ichiba/shop.rb
rakuten_web_service-0.5.0 lib/rakuten_web_service/ichiba/shop.rb
rakuten_web_service-0.4.2 lib/rakuten_web_service/ichiba/shop.rb
rakuten_web_service-0.4.1 lib/rakuten_web_service/ichiba/shop.rb
rakuten_web_service-0.3.1 lib/rakuten_web_service/ichiba/shop.rb
rakuten_web_service-0.3.0 lib/rakuten_web_service/ichiba/shop.rb