Sha256: c158f407436ffed62810a62c88c1c4328c8044a3fbb00e1f50ece140d2c4c9de

Contents?: true

Size: 444 Bytes

Versions: 4

Compression:

Stored size: 444 Bytes

Contents

# frozen_string_literal: true

require 'tcat/configuration'
require_relative 'tcat/version'
require_relative 'tcat/query'

module Tcat
  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

  class Error < StandardError; end
  # Your code goes here...
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tcat-0.1.4 lib/tcat.rb
tcat-0.1.3 lib/tcat.rb
tcat-0.1.2 lib/tcat.rb
tcat-0.1.1 lib/tcat.rb