Method: PokeApi::Type#initialize
- Defined in:
- lib/poke_api/type.rb
#initialize(data) ⇒ Type
Returns a new instance of Type.
12 13 14 |
# File 'lib/poke_api/type.rb', line 12 def initialize(data) assign_data(data) end |
Returns a new instance of Type.
12 13 14 |
# File 'lib/poke_api/type.rb', line 12 def initialize(data) assign_data(data) end |