Class: RakutenWebService::Kobo::Ebook

Inherits:
Resource
  • Object
show all
Defined in:
lib/rakuten_web_service/kobo/ebook.rb

Instance Method Summary collapse

Methods inherited from Resource

#[], all, attribute, client, endpoint, #get_attribute, #initialize, resource_name, search, set_parser, set_resource_name

Constructor Details

This class inherits a constructor from RakutenWebService::Resource

Instance Method Details

#genreObject



23
24
25
# File 'lib/rakuten_web_service/kobo/ebook.rb', line 23

def genre
  Kobo::Genre.new(self.kobo_genre_id)
end