Sha256: 4e2772cd231737820cd2e4a0930e361248e3b038e1e91829c346536dee1e7850

Contents?: true

Size: 977 Bytes

Versions: 3

Compression:

Stored size: 977 Bytes

Contents

require "pokemon_tcg_sdk/version"
require "pokemon_tcg_sdk/card"
require "pokemon_tcg_sdk/configuration"
require "pokemon_tcg_sdk/query_builder"
require "pokemon_tcg_sdk/rest_client"
require "pokemon_tcg_sdk/ability"
require "pokemon_tcg_sdk/attack"
require "pokemon_tcg_sdk/type"
require "pokemon_tcg_sdk/subtype"
require "pokemon_tcg_sdk/supertype"
require "pokemon_tcg_sdk/set"
require "pokemon_tcg_sdk/weakness"
require "pokemon_tcg_sdk/resistance"
require "pokemon_tcg_sdk/legalities"
require "pokemon_tcg_sdk/card_images"
require "pokemon_tcg_sdk/set_images"
require "pokemon_tcg_sdk/tcgplayer"
require "pokemon_tcg_sdk/ancient_trait"
require "pokemon_tcg_sdk/rarity"

module Pokemon
  API_URL = 'https://beta.pokemontcg.io'

  class << self
    attr_writer :configuration
  end

  def self.configuration
    @configuration ||= Configuration.new
  end

  def self.configure
    yield(configuration)
  end

  def self.reset
    @configuration = Configuration.new
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pokemon_tcg_sdk-4.1.1 lib/pokemon_tcg_sdk.rb
pokemon_tcg_sdk-4.1.0 lib/pokemon_tcg_sdk.rb
pokemon_tcg_sdk-4.0.0 lib/pokemon_tcg_sdk.rb