Sha256: 1c59905287bf7dca43c9d98e77a201d3d6053c5bb780d851baa1fd284bce5458

Contents?: true

Size: 918 Bytes

Versions: 23

Compression:

Stored size: 918 Bytes

Contents

require 'rakuten_web_service/books/resource'

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

      attribute :title, :titleKana, :subTitle, :subTitleKana,
                :seriesName, :seriesNameKana,
                :contents, :contentsKana,
                :author, :authorKana, :publisherName,
                :size, :isbn,
                :itemCaption, :itemPrice, :listPrice,
                :discountRate, :discountPrice,
                :salesDate,
                :itemUrl, :affiliateUrl,
                :smallImageUrl, :mediumImageUrl, :largeImageUrl,
                :chirayomiUrl,
                :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/book.rb
rakuten_web_service-1.7.0 lib/rakuten_web_service/books/book.rb
rakuten_web_service-1.6.1 lib/rakuten_web_service/books/book.rb
rakuten_web_service-1.6.0 lib/rakuten_web_service/books/book.rb
rakuten_web_service-1.5.0 lib/rakuten_web_service/books/book.rb
rakuten_web_service-1.4.2 lib/rakuten_web_service/books/book.rb
rakuten_web_service-1.4.1 lib/rakuten_web_service/books/book.rb
rakuten_web_service-1.4.0 lib/rakuten_web_service/books/book.rb
rakuten_web_service-1.3.0 lib/rakuten_web_service/books/book.rb
rakuten_web_service-1.2.0 lib/rakuten_web_service/books/book.rb
rakuten_web_service-1.1.1 lib/rakuten_web_service/books/book.rb
rakuten_web_service-1.1.0 lib/rakuten_web_service/books/book.rb
rakuten_web_service-1.0.0 lib/rakuten_web_service/books/book.rb
rakuten_web_service-1.0.0.rc1 lib/rakuten_web_service/books/book.rb
rakuten_web_service-0.6.3 lib/rakuten_web_service/books/book.rb
rakuten_web_service-0.6.2 lib/rakuten_web_service/books/book.rb
rakuten_web_service-0.6.1 lib/rakuten_web_service/books/book.rb
rakuten_web_service-0.6.0 lib/rakuten_web_service/books/book.rb
rakuten_web_service-0.5.0 lib/rakuten_web_service/books/book.rb
rakuten_web_service-0.4.2 lib/rakuten_web_service/books/book.rb