Module: Shopkit::Client::Webhooks

Included in:
Shopkit::Client
Defined in:
lib/shopkit/client/webhooks.rb

Instance Method Summary collapse

Instance Method Details

#create_webhook(options = {}) ⇒ Object



5
6
7
# File 'lib/shopkit/client/webhooks.rb', line 5

def create_webhook(options={})
  post('/webhooks', options)['webhook']
end