Sha256: 0cc859ccf17889b8f4d933fc0ece774e5cda0f9ed688e9a75887f0203c6c56f3

Contents?: true

Size: 720 Bytes

Versions: 6

Compression:

Stored size: 720 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

6 entries across 6 versions & 1 rubygems

Version Path
pokemon_tcg_sdk-2.3.0 lib/pokemon_tcg_sdk.rb
pokemon_tcg_sdk-2.2.1 lib/pokemon_tcg_sdk.rb
pokemon_tcg_sdk-2.2.0 lib/pokemon_tcg_sdk.rb
pokemon_tcg_sdk-2.1.0 lib/pokemon_tcg_sdk.rb
pokemon_tcg_sdk-2.0.0 lib/pokemon_tcg_sdk.rb
pokemon_tcg_sdk-1.0.0 lib/pokemon_tcg_sdk.rb