Sha256: 0d36d6f07e617b70bf634297310423ff94c705b4988b7af02f37cd988fdfa898

Contents?: true

Size: 226 Bytes

Versions: 6

Compression:

Stored size: 226 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

6 entries across 6 versions & 1 rubygems

Version Path
pokemon_tcg_sdk-2.3.0 lib/pokemon_tcg_sdk/supertype.rb
pokemon_tcg_sdk-2.2.1 lib/pokemon_tcg_sdk/supertype.rb
pokemon_tcg_sdk-2.2.0 lib/pokemon_tcg_sdk/supertype.rb
pokemon_tcg_sdk-2.1.0 lib/pokemon_tcg_sdk/supertype.rb
pokemon_tcg_sdk-2.0.0 lib/pokemon_tcg_sdk/supertype.rb
pokemon_tcg_sdk-1.0.0 lib/pokemon_tcg_sdk/supertype.rb