Class: Bnet::WOW::Data::CharacterRace
- Inherits:
-
Base
- Object
- BnetResource
- Base
- Bnet::WOW::Data::CharacterRace
- Defined in:
- lib/bnet/wow/data/character_race.rb
Constant Summary collapse
- SCOPES =
{ url: 'character/races', collection_root: 'races' }
- PARAMS_MAPPING =
{ "id" => :race_id, "mask" => :mask, "side" => :side, "name" => :name }
Instance Attribute Summary collapse
-
#mask ⇒ Object
readonly
Returns the value of attribute mask.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#race_id ⇒ Object
readonly
Returns the value of attribute race_id.
-
#side ⇒ Object
readonly
Returns the value of attribute side.
Method Summary
Methods inherited from Base
Methods inherited from BnetResource
Constructor Details
This class inherits a constructor from Bnet::BnetResource
Instance Attribute Details
#mask ⇒ Object (readonly)
Returns the value of attribute mask.
3 4 5 |
# File 'lib/bnet/wow/data/character_race.rb', line 3 def mask @mask end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/bnet/wow/data/character_race.rb', line 3 def name @name end |
#race_id ⇒ Object (readonly)
Returns the value of attribute race_id.
3 4 5 |
# File 'lib/bnet/wow/data/character_race.rb', line 3 def race_id @race_id end |
#side ⇒ Object (readonly)
Returns the value of attribute side.
3 4 5 |
# File 'lib/bnet/wow/data/character_race.rb', line 3 def side @side end |