Sha256: 03ca8d9e87fefb6bfa88cf47d5aef6e0b0a586289b75d0ab4d05b7635b33e1a3
Contents?: true
Size: 501 Bytes
Versions: 11
Compression:
Stored size: 501 Bytes
Contents
require 'rakuten_web_service/genre' module RakutenWebService module Kobo class Genre < RakutenWebService::BaseGenre set_resource_name :kobo_genre root_id '101' endpoint 'https://app.rakuten.co.jp/services/api/Kobo/GenreSearch/20131010' attribute :koboGenreId, :koboGenreName, :genreLevel, :itemCount def search(options={}) options = options.merge(self.class.genre_id_key => self.id) RWS::Kobo::Ebook.search(options) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems