Sha256: e9753102f1a6833f4b983bd61bcb5d5ed75831de028431dc3a51ee5b7c49bf90

Contents?: true

Size: 600 Bytes

Versions: 4

Compression:

Stored size: 600 Bytes

Contents

require 'mixpal/version'
require 'active_support'
require 'active_support/core_ext'

module Mixpal
  autoload :Util, 'mixpal/util'
  autoload :Tracker, 'mixpal/tracker'
  autoload :Event, 'mixpal/event'
  autoload :User, 'mixpal/user'
  autoload :Revenue, 'mixpal/revenue'
  autoload :Integration, 'mixpal/integration'

  class << self
    def configuration
      @configuration ||= Configuration.new
    end

    def configure
      yield(configuration)
    end
  end

  class Configuration
    attr_writer :helper_module

    def helper_module
      @helper_module ||= Module.new
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mixpal-0.4.2 lib/mixpal.rb
mixpal-0.4.1 lib/mixpal.rb
mixpal-0.4.0 lib/mixpal.rb
mixpal-0.3.0 lib/mixpal.rb