Sha256: b4b5f9939537101766e00d1d381e39702cad149cd96323eecf512e470c23c66e

Contents?: true

Size: 768 Bytes

Versions: 23

Compression:

Stored size: 768 Bytes

Contents

require 'rakuten_web_service/books/resource'

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

      attribute :title, :titleKana, :artistName, :artistNameKana,
                :label, :jan, :makerCode,
                :itemCaption, :playList, :salesDate,
                :itemPrice, :listPrice,
                :discountRate, :discountPrice, 
                :itemUrl, :affiliateUrl,
                :smallImageUrl, :mediumImageUrl, :largeImageUrl,
                :availability,
                :postageFlag, :limitedFlag,
                :reviewCount, :reviewAverage,
                :booksGenreId

      def update_key
        'jan'
      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/cd.rb
rakuten_web_service-1.7.0 lib/rakuten_web_service/books/cd.rb
rakuten_web_service-1.6.1 lib/rakuten_web_service/books/cd.rb
rakuten_web_service-1.6.0 lib/rakuten_web_service/books/cd.rb
rakuten_web_service-1.5.0 lib/rakuten_web_service/books/cd.rb
rakuten_web_service-1.4.2 lib/rakuten_web_service/books/cd.rb
rakuten_web_service-1.4.1 lib/rakuten_web_service/books/cd.rb
rakuten_web_service-1.4.0 lib/rakuten_web_service/books/cd.rb
rakuten_web_service-1.3.0 lib/rakuten_web_service/books/cd.rb
rakuten_web_service-1.2.0 lib/rakuten_web_service/books/cd.rb
rakuten_web_service-1.1.1 lib/rakuten_web_service/books/cd.rb
rakuten_web_service-1.1.0 lib/rakuten_web_service/books/cd.rb
rakuten_web_service-1.0.0 lib/rakuten_web_service/books/cd.rb
rakuten_web_service-1.0.0.rc1 lib/rakuten_web_service/books/cd.rb
rakuten_web_service-0.6.3 lib/rakuten_web_service/books/cd.rb
rakuten_web_service-0.6.2 lib/rakuten_web_service/books/cd.rb
rakuten_web_service-0.6.1 lib/rakuten_web_service/books/cd.rb
rakuten_web_service-0.6.0 lib/rakuten_web_service/books/cd.rb
rakuten_web_service-0.5.0 lib/rakuten_web_service/books/cd.rb
rakuten_web_service-0.4.2 lib/rakuten_web_service/books/cd.rb