Sha256: 3f4f4639d5a976c7153fa98063825ec113bde2e558be347acbb8a03a670d9639

Contents?: true

Size: 757 Bytes

Versions: 23

Compression:

Stored size: 757 Bytes

Contents

require 'rakuten_web_service/resource'

module RakutenWebService
  module Books
    class ForeignBook < Books::Resource
      endpoint 'https://app.rakuten.co.jp/services/api/BooksForeignBook/Search/20130522'

      attribute :title, :titleKana, :japaneseTitle,
                :author, :authorKana,
                :publishName, :isbn, :itemCaption, :salesDate,
                :itemPrice, :listPrice, 
                :discountRate, :discountPrice,
                :itemUrl, :affiliateUrl,
                :smallImageUrl, :mediumImageUrl, :largeImageUrl,
                :availability, :postageFlag, :limitedFlag,
                :reviewCount, :reviewAverage,
                :booksGenreId

      def update_key
        'isbn'
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
rakuten_web_service-1.8.0 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-1.7.0 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-1.6.1 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-1.6.0 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-1.5.0 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-1.4.2 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-1.4.1 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-1.4.0 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-1.3.0 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-1.2.0 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-1.1.1 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-1.1.0 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-1.0.0 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-1.0.0.rc1 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-0.6.3 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-0.6.2 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-0.6.1 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-0.6.0 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-0.5.0 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-0.4.2 lib/rakuten_web_service/books/foreign_book.rb