Sha256: d81fe6f722618752a013ea6c08a6cc820627c060db176c9434348b7f74537988

Contents?: true

Size: 215 Bytes

Versions: 8

Compression:

Stored size: 215 Bytes

Contents

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pokemon_tcg_sdk-4.5.0 lib/pokemon_tcg_sdk/supertype.rb
pokemon_tcg_sdk-4.4.0 lib/pokemon_tcg_sdk/supertype.rb
pokemon_tcg_sdk-4.3.0 lib/pokemon_tcg_sdk/supertype.rb
pokemon_tcg_sdk-4.2.1 lib/pokemon_tcg_sdk/supertype.rb
pokemon_tcg_sdk-4.2.0 lib/pokemon_tcg_sdk/supertype.rb
pokemon_tcg_sdk-4.1.1 lib/pokemon_tcg_sdk/supertype.rb
pokemon_tcg_sdk-4.1.0 lib/pokemon_tcg_sdk/supertype.rb
pokemon_tcg_sdk-4.0.0 lib/pokemon_tcg_sdk/supertype.rb