Top Level Namespace

Defined Under Namespace

Modules: SuperReceptionist

Instance Method Summary collapse

Instance Method Details

#SuperReceptionist(options = {}) ⇒ Object



18
19
20
21
22
23
# File 'lib/super_receptionist.rb', line 18

def SuperReceptionist(options = {})
  options[:channel] = SuperReceptionist.channel if SuperReceptionist.channel
  options[:x_api_key] = SuperReceptionist.x_api_key if SuperReceptionist.x_api_key
  options[:authorization] = SuperReceptionist.authorization if SuperReceptionist.authorization
  SuperReceptionist::Base.new(options)
end