Sha256: 1a5bc7f7403aa33b1490c06eed5a5e4130279807bd4c9a4c3c7d48354daabd74

Contents?: true

Size: 789 Bytes

Versions: 8

Compression:

Stored size: 789 Bytes

Contents

# frozen_string_literal: true

require 'rakuten_web_service/books/resource'

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

      attribute :title, :titleKana, :artistName, :artistNameKana,
                :label, :jan, :makerCode,
                :itemCaption, :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/dvd.rb
rakuten_web_service-1.13.1 lib/rakuten_web_service/books/dvd.rb
rakuten_web_service-1.13.0 lib/rakuten_web_service/books/dvd.rb
rakuten_web_service-1.12.0 lib/rakuten_web_service/books/dvd.rb
rakuten_web_service-1.11.0 lib/rakuten_web_service/books/dvd.rb
rakuten_web_service-1.10.0 lib/rakuten_web_service/books/dvd.rb
rakuten_web_service-1.9.2 lib/rakuten_web_service/books/dvd.rb
rakuten_web_service-1.9.1 lib/rakuten_web_service/books/dvd.rb