Class: Hookdeck::Resources::BulkRequestsRetry
- Defined in:
- lib/hookdeck/resources/bulk_request_retry.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#cancel_retry(id) ⇒ Object
Cancel a pending bulk requests retry.
-
#create_retry(params) ⇒ Object
Create a new bulk requests retry.
-
#list_retries(params = {}) ⇒ Object
List all pending bulk requests retries.
-
#plan_retry(params) ⇒ Object
Get the plan for a bulk requests retry.
-
#retrieve_retry(id) ⇒ Object
Retrieve a single bulk requests retry.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Hookdeck::Resources::Base
Instance Method Details
#cancel_retry(id) ⇒ Object
Cancel a pending bulk requests retry
5 6 7 |
# File 'lib/hookdeck/resources/bulk_request_retry.rb', line 5 def cancel_retry(id) post("bulk/requests/retry/#{id}/cancel") end |
#create_retry(params) ⇒ Object
Create a new bulk requests retry
26 27 28 |
# File 'lib/hookdeck/resources/bulk_request_retry.rb', line 26 def create_retry(params) post('bulk/requests/retry', params) end |
#list_retries(params = {}) ⇒ Object
List all pending bulk requests retries
15 16 17 |
# File 'lib/hookdeck/resources/bulk_request_retry.rb', line 15 def list_retries(params = {}) get('bulk/requests/retry', params) end |
#plan_retry(params) ⇒ Object
Get the plan for a bulk requests retry
10 11 12 |
# File 'lib/hookdeck/resources/bulk_request_retry.rb', line 10 def plan_retry(params) get('bulk/requests/retry/plan', params) end |
#retrieve_retry(id) ⇒ Object
Retrieve a single bulk requests retry
21 22 23 |
# File 'lib/hookdeck/resources/bulk_request_retry.rb', line 21 def retrieve_retry(id) get("bulk/requests/retry/#{id}") end |