Sha256: e8c348c727ecf435758efe97df68ffe22eaba72c195291047eb1bdc6baf3bf34

Contents?: true

Size: 662 Bytes

Versions: 1

Compression:

Stored size: 662 Bytes

Contents

# -*- encoding : utf-8 -*-

require "helpers/symbolize_keys"
require "helpers/generate_credentials"

require "dito/version"
require "dito/configuration"
require "dito/domains"
require "dito/request"
require "dito/identify"
require "dito/alias"
require "dito/track"

module Dito
  def self.root
    File.expand_path '../..', __FILE__
  end

  class << self
    def configuration
      @configuration ||= Configuration.new
    end
    
    def configure
      yield(configuration)
    end

    def api_key
      configuration.api_key
    end

    def secret
      configuration.secret
    end

    def environment
      configuration.environment
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dito-0.0.4 lib/dito.rb