Module: Hickey

Defined in:
lib/hickey.rb,
lib/hickey/acceptor.rb,
lib/hickey/domain_detector/base.rb,
lib/hickey/domain_detector/scopes.rb,
lib/hickey/domain_detector/actions.rb,
lib/hickey/domain_detector/associations.rb,
lib/hickey/domain_detector/configurable.rb

Defined Under Namespace

Modules: Acceptor, DomainDetector

Constant Summary collapse

VERSION =
'0.0.2'

Class Method Summary collapse

Class Method Details

.dump(domain) ⇒ Object



15
16
17
# File 'lib/hickey.rb', line 15

def dump(domain)
  DomainDetector::Base.new.visit(domain)
end

.setup(domain = {}) ⇒ Object



19
20
21
# File 'lib/hickey.rb', line 19

def setup(domain={})
  DomainDetector::Base.configurations.merge! domain
end