Sha256: 0b71430cee1c26f13fee7bc83edc406236ff657490582834214461a0a7894c37

Contents?: true

Size: 787 Bytes

Versions: 8

Compression:

Stored size: 787 Bytes

Contents

# frozen_string_literal: true

require 'rakuten_web_service/resource'

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

      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

8 entries across 8 versions & 1 rubygems

Version Path
rakuten_web_service-1.13.2 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-1.13.1 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-1.13.0 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-1.12.0 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-1.11.0 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-1.10.0 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-1.9.2 lib/rakuten_web_service/books/foreign_book.rb
rakuten_web_service-1.9.1 lib/rakuten_web_service/books/foreign_book.rb