Sha256: cbe5454f273b4a09eaa7d61a090ab4b015520c0555ddbeeaeb2edb005d3ec416

Contents?: true

Size: 449 Bytes

Versions: 2

Compression:

Stored size: 449 Bytes

Contents

module Adjust
  module Core
    module Configurable
      def load(path = 'config/adjust.yml', environment: nil)
        configuration.load path, environment: environment
      end

      def configuration
        @configuration ||= Configuration.new
      end

      private

      def environment
        configuration.active_environment
      end

      def tokens(app, event)
        configuration.tokens(app, event)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
adjust-0.0.4 lib/adjust/core/configurable.rb
adjust-0.0.3 lib/adjust/core/configurable.rb