Class: ShopifyClient::DeleteWebhook
- Inherits:
-
Object
- Object
- ShopifyClient::DeleteWebhook
- Defined in:
- lib/shopify-client/delete_webhook.rb
Instance Method Summary collapse
-
#call(client, id) ⇒ Hash
Response data.
Instance Method Details
#call(client, id) ⇒ Hash
Returns response data.
9 10 11 |
# File 'lib/shopify-client/delete_webhook.rb', line 9 def call(client, id) client.delete("webhooks/#{id}") end |