Sha256: e8819cf7ed25b82ed1d6f059634d918b305f3e6bd743b17c126f7da07cbb8cf4

Contents?: true

Size: 626 Bytes

Versions: 5

Compression:

Stored size: 626 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"

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

5 entries across 5 versions & 1 rubygems

Version Path
mtg_sdk-1.1.1 lib/mtg_sdk.rb
mtg_sdk-1.1.0 lib/mtg_sdk.rb
mtg_sdk-1.0.2 lib/mtg_sdk.rb
mtg_sdk-1.0.1 lib/mtg_sdk.rb
mtg_sdk-1.0.0 lib/mtg_sdk.rb