Sha256: be24e359160a36d0416c74035d4c5b7c4c69f1ae3bbf0125331f0852da43c843

Contents?: true

Size: 207 Bytes

Versions: 8

Compression:

Stored size: 207 Bytes

Contents

module Pokemon
  class Subtype
    include RestClient
    
    # Get all subtypes
    #
    # @return [Array<String>]  All subtypes
    def self.all
      RestClient.get('subtypes')['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/subtype.rb
pokemon_tcg_sdk-4.4.0 lib/pokemon_tcg_sdk/subtype.rb
pokemon_tcg_sdk-4.3.0 lib/pokemon_tcg_sdk/subtype.rb
pokemon_tcg_sdk-4.2.1 lib/pokemon_tcg_sdk/subtype.rb
pokemon_tcg_sdk-4.2.0 lib/pokemon_tcg_sdk/subtype.rb
pokemon_tcg_sdk-4.1.1 lib/pokemon_tcg_sdk/subtype.rb
pokemon_tcg_sdk-4.1.0 lib/pokemon_tcg_sdk/subtype.rb
pokemon_tcg_sdk-4.0.0 lib/pokemon_tcg_sdk/subtype.rb