Class: CheckoutSdk::Workflows::WebhookWorkflowAction

Inherits:
WorkflowAction show all
Defined in:
lib/checkout_sdk/workflows/webhook_workflow_action.rb

Instance Attribute Summary collapse

Attributes inherited from WorkflowAction

#type

Instance Method Summary collapse

Constructor Details

#initializeWebhookWorkflowAction

Returns a new instance of WebhookWorkflowAction.



16
17
18
# File 'lib/checkout_sdk/workflows/webhook_workflow_action.rb', line 16

def initialize
  super CheckoutSdk::Workflows::WorkflowActionType::WEBHOOK
end

Instance Attribute Details

#headersHash{String => String}

Returns:

  • (Hash{String => String})


11
12
13
14
15
16
17
18
19
# File 'lib/checkout_sdk/workflows/webhook_workflow_action.rb', line 11

class WebhookWorkflowAction < WorkflowAction
  attr_accessor :url,
                :headers,
                :signature

  def initialize
    super CheckoutSdk::Workflows::WorkflowActionType::WEBHOOK
  end
end

#signatureWebhookSignature

Returns:



11
12
13
14
15
16
17
18
19
# File 'lib/checkout_sdk/workflows/webhook_workflow_action.rb', line 11

class WebhookWorkflowAction < WorkflowAction
  attr_accessor :url,
                :headers,
                :signature

  def initialize
    super CheckoutSdk::Workflows::WorkflowActionType::WEBHOOK
  end
end

#urlString

Returns:

  • (String)


11
12
13
14
15
16
17
18
19
# File 'lib/checkout_sdk/workflows/webhook_workflow_action.rb', line 11

class WebhookWorkflowAction < WorkflowAction
  attr_accessor :url,
                :headers,
                :signature

  def initialize
    super CheckoutSdk::Workflows::WorkflowActionType::WEBHOOK
  end
end