Module: UniOne::Client::Webhook
- Extended by:
- Validation::ClassMethods
- Includes:
- Validation::InstanceMethods
- Included in:
- UniOne::Client
- Defined in:
- lib/unione/client/webhook.rb
Instance Method Summary collapse
- #delete_webhook(params = {}) ⇒ Object
- #get_webhook(params = {}) ⇒ Object
- #list_webhooks(params = {}) ⇒ Object
- #set_webhook(params = {}) ⇒ Object
Methods included from Validation::ClassMethods
Instance Method Details
#delete_webhook(params = {}) ⇒ Object
19 20 21 |
# File 'lib/unione/client/webhook.rb', line 19 def delete_webhook(params = {}) post('webhook/delete.json', params) end |
#get_webhook(params = {}) ⇒ Object
11 12 13 |
# File 'lib/unione/client/webhook.rb', line 11 def get_webhook(params = {}) post('webhook/get.json', params) end |
#list_webhooks(params = {}) ⇒ Object
15 16 17 |
# File 'lib/unione/client/webhook.rb', line 15 def list_webhooks(params = {}) post('webhook/list.json', params) end |
#set_webhook(params = {}) ⇒ Object
7 8 9 |
# File 'lib/unione/client/webhook.rb', line 7 def set_webhook(params = {}) post('webhook/set.json', params) end |