Sha256: ea57a262ff4d01f8a4cc7ece927124fce21c3972fdf6b563e4886ebc3d98de17

Contents?: true

Size: 195 Bytes

Versions: 8

Compression:

Stored size: 195 Bytes

Contents

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