Class: Pokemon::Type
- Inherits:
-
Object
- Object
- Pokemon::Type
- Includes:
- RestClient
- Defined in:
- lib/pokemon_tcg_sdk/type.rb
Class Method Summary collapse
-
.all ⇒ Array<String>
Get all types.
Methods included from RestClient
Class Method Details
.all ⇒ Array<String>
Get all types
8 9 10 |
# File 'lib/pokemon_tcg_sdk/type.rb', line 8 def self.all RestClient.get('types')['data'] end |