Sha256: bf24c1b3283544a139ecd18e63d2f823f30a6925271bccc48889ca97b551a89d

Contents?: true

Size: 830 Bytes

Versions: 8

Compression:

Stored size: 830 Bytes

Contents

# frozen_string_literal: true

require 'rakuten_web_service/books/resource'

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

      attribute :title, :titleKana, :publisherName, :jan,
                :itemCaption,
                :salesDate, :cycle,
                :itemPrice, :listPrice, :discountRate, :discountPrice,
                :itemUrl, :affiliateUrl,
                :contents, :contentsKana,
                :smallImageUrl, :mediumImageUrl, :largeImageUrl,
                :chirayomiUrl,
                :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/magazine.rb
rakuten_web_service-1.13.1 lib/rakuten_web_service/books/magazine.rb
rakuten_web_service-1.13.0 lib/rakuten_web_service/books/magazine.rb
rakuten_web_service-1.12.0 lib/rakuten_web_service/books/magazine.rb
rakuten_web_service-1.11.0 lib/rakuten_web_service/books/magazine.rb
rakuten_web_service-1.10.0 lib/rakuten_web_service/books/magazine.rb
rakuten_web_service-1.9.2 lib/rakuten_web_service/books/magazine.rb
rakuten_web_service-1.9.1 lib/rakuten_web_service/books/magazine.rb