Class: Webhooks
- Inherits:
-
OpenPayResource
- Object
- OpenPayResource
- Webhooks
- Defined in:
- lib/openpay/webhooks.rb
Instance Attribute Summary
Attributes inherited from OpenPayResource
Instance Method Summary collapse
Methods inherited from OpenPayResource
#delete, #delete_all, #each, #env, #errors?, #get, #get_with_custom_url, #hash2json, #initialize, #json2hash, #list, #post, #put
Constructor Details
This class inherits a constructor from OpenPayResource
Instance Method Details
#verify(webhook_id, code) ⇒ Object
5 6 7 |
# File 'lib/openpay/webhooks.rb', line 5 def verify(webhook_id, code) post('', "#{webhook_id}/verify/#{code}") end |