Created
November 21, 2019 17:12
-
-
Save victorgiraldes/dd7ef5ad09dafaf0ce1f69102003202c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require './lib/services/webhook/base' | |
module Services | |
module Webhook | |
class WebhookData < Services::Webhook::Base | |
def create(params) | |
url.concat('/webhook') | |
http_post(params) | |
end | |
def all | |
url.concat('/webhook') | |
http_get() | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment