Class: PokeApi::Common::Name
- Inherits:
-
Object
- Object
- PokeApi::Common::Name
- Defined in:
- lib/poke_api/common/name.rb
Overview
Name object handling lists of names and languages
Instance Attribute Summary collapse
-
#language ⇒ Object
readonly
Returns the value of attribute language.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(data) ⇒ Name
constructor
A new instance of Name.
Constructor Details
Instance Attribute Details
#language ⇒ Object (readonly)
Returns the value of attribute language.
5 6 7 |
# File 'lib/poke_api/common/name.rb', line 5 def language @language end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/poke_api/common/name.rb', line 5 def name @name end |