You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/knockapi/models/workflow_cancel_params.rb
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -13,11 +13,11 @@ class WorkflowCancelParams < Knockapi::Internal::Type::BaseModel
13
13
required:key,String
14
14
15
15
# @!attribute cancellation_key
16
-
# An optional key that is used to reference a specific workflow trigger request
17
-
# when issuing a [workflow cancellation](/send-notifications/canceling-workflows)
18
-
# request. Must be provided while triggering a workflow in order to enable
19
-
# subsequent cancellation. Should be unique across trigger requests to avoid
20
-
# unintentional cancellations.
16
+
# A key that is used to reference a specific workflow trigger request when issuing
17
+
# a [workflow cancellation](/send-notifications/canceling-workflows) request. Must
18
+
# be provided while triggering a workflow in order to enable subsequent
19
+
# cancellation. Should be unique across trigger requests to avoid unintentional
20
+
# cancellations.
21
21
#
22
22
# @return [String]
23
23
required:cancellation_key,String
@@ -37,7 +37,7 @@ class WorkflowCancelParams < Knockapi::Internal::Type::BaseModel
37
37
#
38
38
# @param key [String]
39
39
#
40
-
# @param cancellation_key [String] An optional key that is used to reference a specific workflow trigger request wh
40
+
# @param cancellation_key [String] A key that is used to reference a specific workflow trigger request when issuing
41
41
#
42
42
# @param recipients [Array<String, Knockapi::Models::RecipientReference::ObjectReference>, nil] A list of recipients to cancel the notification for. If omitted, cancels for all
# An optional key that is used to reference a specific workflow trigger request
32
-
# when issuing a [workflow cancellation](/send-notifications/canceling-workflows)
33
-
# request. Must be provided while triggering a workflow in order to enable
34
-
# subsequent cancellation. Should be unique across trigger requests to avoid
35
-
# unintentional cancellations.
31
+
# A key that is used to reference a specific workflow trigger request when issuing
32
+
# a [workflow cancellation](/send-notifications/canceling-workflows) request. Must
33
+
# be provided while triggering a workflow in order to enable subsequent
34
+
# cancellation. Should be unique across trigger requests to avoid unintentional
35
+
# cancellations.
36
36
#
37
37
# @return [String, nil]
38
38
optional:cancellation_key,String,nil?: true
@@ -62,7 +62,7 @@ class WorkflowTriggerParams < Knockapi::Internal::Type::BaseModel
62
62
#
63
63
# @param actor [String, Knockapi::Models::InlineIdentifyUserRequest, Knockapi::Models::InlineObjectRequest, nil] Specifies a recipient in a request. This can either be a user identifier (string
64
64
#
65
-
# @param cancellation_key [String, nil] An optional key that is used to reference a specific workflow trigger request wh
65
+
# @param cancellation_key [String, nil] A key that is used to reference a specific workflow trigger request when issuing
66
66
#
67
67
# @param data [Hash{Symbol=>Object}, nil] An optional map of data to pass into the workflow execution. There is a 10MB lim
Copy file name to clipboardExpand all lines: lib/knockapi/resources/workflows.rb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ class Workflows
16
16
#
17
17
# @param key [String] The key of the workflow to cancel.
18
18
#
19
-
# @param cancellation_key [String] An optional key that is used to reference a specific workflow trigger request wh
19
+
# @param cancellation_key [String] A key that is used to reference a specific workflow trigger request when issuing
20
20
#
21
21
# @param recipients [Array<String, Knockapi::Models::RecipientReference::ObjectReference>, nil] A list of recipients to cancel the notification for. If omitted, cancels for all
22
22
#
@@ -53,7 +53,7 @@ def cancel(key, params)
53
53
#
54
54
# @param actor [String, Knockapi::Models::InlineIdentifyUserRequest, Knockapi::Models::InlineObjectRequest, nil] Specifies a recipient in a request. This can either be a user identifier (string
55
55
#
56
-
# @param cancellation_key [String, nil] An optional key that is used to reference a specific workflow trigger request wh
56
+
# @param cancellation_key [String, nil] A key that is used to reference a specific workflow trigger request when issuing
57
57
#
58
58
# @param data [Hash{Symbol=>Object}, nil] An optional map of data to pass into the workflow execution. There is a 10MB lim
0 commit comments