Method: EasyPost::Services::Webhook#update
- Defined in:
- lib/easypost/services/webhook.rb
#update(id, params = {}) ⇒ Object
Update a Webhook.
29 30 31 32 33 |
# File 'lib/easypost/services/webhook.rb', line 29 def update(id, params = {}) response = @client.make_request(:patch, "webhooks/#{id}", params) EasyPost::InternalUtilities::Json.convert_json_to_object(response, MODEL_CLASS) end |