Sha256: 4d70a1e3ea6ba2ad882e18d1b1edeaa277389cdd52a0a39c17824291144b88b7

Contents?: true

Size: 200 Bytes

Versions: 8

Compression:

Stored size: 200 Bytes

Contents

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