Class: MTG::Supertype

Inherits:
Object
  • Object
show all
Includes:
RestClient
Defined in:
lib/mtg_sdk/supertype.rb

Class Method Summary collapse

Methods included from RestClient

get

Class Method Details

.allArray<String>

Get all supertypes

Returns:

  • (Array<String>)

    All supertypes



8
9
10
# File 'lib/mtg_sdk/supertype.rb', line 8

def self.all
  RestClient.get('supertypes').body['supertypes']
end