Module: Resend::Automations::Runs
- Defined in:
- lib/resend/automations/runs.rb
Overview
Automation Runs api wrapper
Class Method Summary collapse
Class Method Details
.get(automation_id, run_id) ⇒ Object
16 17 18 |
# File 'lib/resend/automations/runs.rb', line 16 def get(automation_id, run_id) Resend::Request.new("automations/#{automation_id}/runs/#{run_id}", {}, "get").perform end |
.list(automation_id, params = {}) ⇒ Object
9 10 11 12 13 |
# File 'lib/resend/automations/runs.rb', line 9 def list(automation_id, params = {}) base_path = "automations/#{automation_id}/runs" path = Resend::PaginationHelper.build_paginated_path(base_path, params) Resend::Request.new(path, {}, "get").perform end |