lib/shipstation/webhook.rb in shipstation-0.21 vs lib/shipstation/webhook.rb in shipstation-0.22
- old
+ new
@@ -6,11 +6,11 @@
response = Shipstation.request(:post, 'webhooks/subscribe', params)
return response
end
- def unsubscribe(object_id)
- response = Shipstation.request(:delete, "webhooks/#{object_id}")
+ def unsubscribe(object_id, params={})
+ response = Shipstation.request(:delete, "webhooks/#{object_id}", params)
return response
end
end
end
\ No newline at end of file