Sha256: 3506724cecaad75e41a00781698e2f6b89af58bca467a848cc6994358f6f9e96

Contents?: true

Size: 385 Bytes

Versions: 2

Compression:

Stored size: 385 Bytes

Contents

require_relative 'learnosity_utils/version'
require_relative 'learnosity_utils/end_point'
require_relative 'learnosity_utils/configuration'

module LearnosityUtils
  extend self

  attr_writer :configuration

  def configuration
    @configuration ||= Configuration.new
  end

  def reset
    @configuration = Configuration.new
  end

  def configure
    yield configuration
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
learnosity_utils-0.1.1 lib/learnosity_utils.rb
learnosity_utils-0.1.0 lib/learnosity_utils.rb