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

Class Method Summary collapse

Class Method Details

.dump(domain) ⇒ Object



13
14
15
# File 'lib/hickey.rb', line 13

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

.setup(domain = {}) ⇒ Object



17
18
19
# File 'lib/hickey.rb', line 17

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