File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ as methods on the client object. The following methods are currently available:
7979
8080| Actions | Methods |
8181| :------------------------- | :--------------------------------------------------- |
82- | List campaigns | ` #campaigns(options = {}) ` |
82+ | List campaigns | ` #campaigns(options = {}) ` |
8383| Fetch a campaign | ` #campaign(id) ` |
8484| Activate a campaign | ` #activate_campaign(id) ` |
8585| Pause a campaign | ` #pause_campaign(id) ` |
@@ -168,13 +168,13 @@ as methods on the client object. The following methods are currently available:
168168| Activate a workflow | ` #activate_workflow(id) ` |
169169| Pause a workflow | ` #pause_workflow(id) ` |
170170| Start a subscriber on a workflow | ` #start_subscriber_workflow(id, options = {}) ` |
171- | Remove a subscriber from a workflow | ` #remove_subscriber_workflow(id , id_or_email) ` |
171+ | Remove a subscriber from a workflow | ` #remove_subscriber_workflow(workflow_id , id_or_email) ` |
172172
173173#### Workflow Triggers
174174
175175| Actions | Methods |
176176| :------------------------- | :--------------------------------------------------- |
177- | List workflow triggers | ` #workflow_triggers(id) ` |
177+ | List workflow triggers | ` #workflow_triggers(id) ` |
178178| Create a workflow trigger | ` #create_workflow_trigger(id, options = {}) ` |
179179| Update a workflow trigger | ` #update_workflow_trigger(id, options = {} ` |
180180
Original file line number Diff line number Diff line change 1- require "cgi"
2-
31module Drip
42 class Client
53 module WorkflowTriggers
Original file line number Diff line number Diff line change @@ -72,8 +72,8 @@ def start_subscriber_workflow(id, options = {})
7272 #
7373 # Returns a Drip::Response.
7474 # See https://www.getdrip.com/docs/rest-api#workflows
75- def remove_subscriber_workflow ( id , id_or_email )
76- delete "#{ account_id } /workflows/#{ id } /subscribers/#{ CGI . escape id_or_email } "
75+ def remove_subscriber_workflow ( workflow_id , id_or_email )
76+ delete "#{ account_id } /workflows/#{ workflow_id } /subscribers/#{ CGI . escape id_or_email } "
7777 end
7878 end
7979 end
You can’t perform that action at this time.
0 commit comments