Sha256: d5146a87e428b3c1fa0f990a796b29051a715ffb69a9af60aee5a1ab3b4baed1
Contents?: true
Size: 452 Bytes
Versions: 3
Compression:
Stored size: 452 Bytes
Contents
# frozen_string_literal: true require 'rakuten_web_service/books/resource' module RakutenWebService module Books class Total < Books::Resource endpoint 'https://app.rakuten.co.jp/services/api/BooksTotal/Search/20170404' parser do |response| response['Items'].map do |item| resource_class = find_resource_by_genre_id(item['booksGenreId']) resource_class.new(item) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems