diff --git a/lib/hostedhooks/client.rb b/lib/hostedhooks/client.rb index 824b919..1b327fc 100644 --- a/lib/hostedhooks/client.rb +++ b/lib/hostedhooks/client.rb @@ -86,6 +86,10 @@ def list_webhook_attempts(app_uuid, params = {}) get_response("/apps/#{app_uuid}/webhook_attempts", params.slice(:page, :per_page, :offset)) end + def list_endpoint_webhook_attempts(app_uuid, endpoint_uuid, params = {}) + get_response("/apps/#{app_uuid}/endpoints/#{endpoint_uuid}/webhook_attempts", params.slice(:page, :per_page, :offset)) + end + # HookHelpers def list_hook_helpers(params = {}) diff --git a/lib/hostedhooks/version.rb b/lib/hostedhooks/version.rb index 463a632..c23a1c4 100644 --- a/lib/hostedhooks/version.rb +++ b/lib/hostedhooks/version.rb @@ -1,3 +1,3 @@ module HostedHooks - VERSION = "0.5.0" + VERSION = "0.6.0" end