Class: RakutenApi::GenreSearch::Model
- Inherits:
-
Base::Model
- Object
- Base::Model
- RakutenApi::GenreSearch::Model
- Defined in:
- lib/rakuten_api/genre_search/model.rb
Constant Summary collapse
- GENRE_SEARCH_CASTING =
{ "genreId" => Proc.new{|o| o.to_i}, 'genreLevel' => Proc.new{|o| o.to_i} }.freeze
Instance Attribute Summary collapse
-
#genre_id ⇒ Object
Returns the value of attribute genre_id.
-
#genre_level ⇒ Object
Returns the value of attribute genre_level.
-
#genre_name ⇒ Object
Returns the value of attribute genre_name.
Class Method Summary collapse
Methods inherited from Base::Model
downcase, from_hash, mapping, #to_hash
Instance Attribute Details
#genre_id ⇒ Object
Returns the value of attribute genre_id.
13 14 15 |
# File 'lib/rakuten_api/genre_search/model.rb', line 13 def genre_id @genre_id end |
#genre_level ⇒ Object
Returns the value of attribute genre_level.
15 16 17 |
# File 'lib/rakuten_api/genre_search/model.rb', line 15 def genre_level @genre_level end |
#genre_name ⇒ Object
Returns the value of attribute genre_name.
14 15 16 |
# File 'lib/rakuten_api/genre_search/model.rb', line 14 def genre_name @genre_name end |
Class Method Details
.casting ⇒ Object
17 18 19 |
# File 'lib/rakuten_api/genre_search/model.rb', line 17 def self.casting GENRE_SEARCH_CASTING end |