Sha256: 08d0e60a7f7686ad847c07bb9054b6787ebd58505f713fba626405f7de71b60e

Contents?: true

Size: 216 Bytes

Versions: 6

Compression:

Stored size: 216 Bytes

Contents

module Pokemon
  class Subtype
    include RestClient
    
    # Get all subtypes
    #
    # @return [Array<String>]  All subtypes
    def self.all
      RestClient.get('subtypes').body['subtypes']
    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/subtype.rb
pokemon_tcg_sdk-2.2.1 lib/pokemon_tcg_sdk/subtype.rb
pokemon_tcg_sdk-2.2.0 lib/pokemon_tcg_sdk/subtype.rb
pokemon_tcg_sdk-2.1.0 lib/pokemon_tcg_sdk/subtype.rb
pokemon_tcg_sdk-2.0.0 lib/pokemon_tcg_sdk/subtype.rb
pokemon_tcg_sdk-1.0.0 lib/pokemon_tcg_sdk/subtype.rb