Module: SipgateIo::RouteExtensions

Defined in:
lib/sipgate_io/route_extension.rb

Instance Method Summary collapse

Instance Method Details

#mount_sipgate_io(path = '/sipgate_io') ⇒ Object



3
4
5
# File 'lib/sipgate_io/route_extension.rb', line 3

def mount_sipgate_io(path='/sipgate_io')
  post path => 'sipgate_io/events#create', as: :sipgate_io
end