Sha256: 2af4ae0af8ee1fc60831a37dac48ae5bb13db9604be406ce9557bd465fe83fe5

Contents?: true

Size: 751 Bytes

Versions: 3

Compression:

Stored size: 751 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_value"
require "pokemon_tcg_sdk/type"
require "pokemon_tcg_sdk/subtype"
require "pokemon_tcg_sdk/supertype"
require "pokemon_tcg_sdk/set"

module Pokemon
  API_URL = 'https://api.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-3.0.0 lib/pokemon_tcg_sdk.rb
pokemon_tcg_sdk-2.5.0 lib/pokemon_tcg_sdk.rb
pokemon_tcg_sdk-2.4.0 lib/pokemon_tcg_sdk.rb