Sha256: eaed5861ac891d4f3459bfe149bf13fa88eedcc39ea7cec0834edcd1ada25387

Contents?: true

Size: 1.12 KB

Versions: 1

Compression:

Stored size: 1.12 KB

Contents

require File.join(File.dirname(__FILE__), 'loopiator/railtie') if defined? Rails
require File.join(File.dirname(__FILE__), 'loopiator/extensions/hash') if !Hash.instance_methods(false).include?(:symbolize_keys!)
require File.join(File.dirname(__FILE__), 'loopiator/configuration')
require File.join(File.dirname(__FILE__), 'loopiator/logger')
require File.join(File.dirname(__FILE__), 'loopiator/errors')
require File.join(File.dirname(__FILE__), 'loopiator/utilities')
require File.join(File.dirname(__FILE__), 'loopiator/models/domain')
require File.join(File.dirname(__FILE__), 'loopiator/models/dns_record')
require File.join(File.dirname(__FILE__), 'loopiator/domains')
require File.join(File.dirname(__FILE__), 'loopiator/dns')
require File.join(File.dirname(__FILE__), 'loopiator/credits')
require File.join(File.dirname(__FILE__), 'loopiator/client')

module Loopiator
  VERSION     =   "0.4.0"
  
  class << self
    attr_writer :configuration
  end
  
  def self.configuration
    @configuration ||= Configuration.new
  end
  
  def self.reset
    @configuration = nil
  end
  
  def self.configure
    yield(configuration)
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
loopiator-0.4.0 lib/loopiator.rb