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