Sha256: 1fffe4bd7d40cea62c7b0e86fc82aad54ff2613fc03000c3ffaf988deb9cc358

Contents?: true

Size: 201 Bytes

Versions: 6

Compression:

Stored size: 201 Bytes

Contents

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