Sha256: fc55b032143bbc34d3c6c0aef0d2f07a6ca3ef8a674823ed56fe18dceb2a39ce

Contents?: true

Size: 798 Bytes

Versions: 8

Compression:

Stored size: 798 Bytes

Contents

# frozen_string_literal: true

require 'rakuten_web_service/books/resource'

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

      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

8 entries across 8 versions & 1 rubygems

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