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