Sha256: d5b3a95f11d96a8dc57d26cbff90e17770e070ecf70e9f5e61fca3cebfca8827

Contents?: true

Size: 690 Bytes

Versions: 2

Compression:

Stored size: 690 Bytes

Contents

require "mtg_sdk/version"
require "mtg_sdk/configuration"
require "mtg_sdk/card"
require "mtg_sdk/legality"
require "mtg_sdk/foreign_name"
require "mtg_sdk/ruling"
require "mtg_sdk/set"
require "mtg_sdk/type"
require "mtg_sdk/subtype"
require "mtg_sdk/supertype"
require "mtg_sdk/changelog"
require "mtg_sdk/rest_client"
require "mtg_sdk/query_builder"

module MTG
  API_URL = 'https://api.magicthegathering.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

2 entries across 2 versions & 1 rubygems

Version Path
mtg_sdk-3.2.0 lib/mtg_sdk.rb
mtg_sdk-3.1.0 lib/mtg_sdk.rb