Sha256: 607ecf3a193a9b5be8a90ba168e91fd96de2f93b85fc455f34c5bfa013a59126

Contents?: true

Size: 385 Bytes

Versions: 8

Compression:

Stored size: 385 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

8 entries across 8 versions & 1 rubygems

Version Path
rakuten_web_service-1.4.1 lib/rakuten_web_service/ichiba/shop.rb
rakuten_web_service-1.4.0 lib/rakuten_web_service/ichiba/shop.rb
rakuten_web_service-1.3.0 lib/rakuten_web_service/ichiba/shop.rb
rakuten_web_service-1.2.0 lib/rakuten_web_service/ichiba/shop.rb
rakuten_web_service-1.1.1 lib/rakuten_web_service/ichiba/shop.rb
rakuten_web_service-1.1.0 lib/rakuten_web_service/ichiba/shop.rb
rakuten_web_service-1.0.0 lib/rakuten_web_service/ichiba/shop.rb
rakuten_web_service-1.0.0.rc1 lib/rakuten_web_service/ichiba/shop.rb