Sha256: b111323537a4e830ee244df4299b2f02a26b9a7f0f70fba116b7b680694e73be

Contents?: true

Size: 237 Bytes

Versions: 3

Compression:

Stored size: 237 Bytes

Contents

module Pokemon
  class Supertype
    include RestClient
    
    # Get all supertypes
    #
    # @return [Array<String>]  All supertypes
    def self.all
      RestClient.get('supertypes').body['supertypes']
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pokemon_tcg_sdk-3.0.0 lib/pokemon_tcg_sdk/supertype.rb
pokemon_tcg_sdk-2.5.0 lib/pokemon_tcg_sdk/supertype.rb
pokemon_tcg_sdk-2.4.0 lib/pokemon_tcg_sdk/supertype.rb