Top Level Namespace

Defined Under Namespace

Modules: Legalizer

Instance Method Summary collapse

Instance Method Details

#Legalizer(options = {}) ⇒ Object



20
21
22
23
24
25
26
# File 'lib/legalizer.rb', line 20

def Legalizer(options={})
  if options[:configure_oauth]
    Legalizer::ConfigureOAuth.new(options)
  else
    Legalizer::Base.new(options)
  end
end