PokemonTCG/pokemon-tcg-sdk-ruby

View on GitHub
lib/pokemon_tcg_sdk/rarity.rb

Summary

Maintainability
A
0 mins
Test Coverage
B
80%
module Pokemon
  class Rarity
    include RestClient
    
    # Get all types
    #
    # @return [Array<String>]  All types
    def self.all
      RestClient.get('rarities')['data']
    end
  end
end