Class: CheckoutSdk::Workflows::EventWorkflowCondition

Inherits:
WorkflowCondition show all
Defined in:
lib/checkout_sdk/workflows/event_workflow_condition.rb

Instance Attribute Summary collapse

Attributes inherited from WorkflowCondition

#type

Instance Method Summary collapse

Constructor Details

#initializeEventWorkflowCondition

Returns a new instance of EventWorkflowCondition.



10
11
12
# File 'lib/checkout_sdk/workflows/event_workflow_condition.rb', line 10

def initialize
  super CheckoutSdk::Workflows::WorkflowConditionType::EVENT
end

Instance Attribute Details

#eventsHash(String=>Array(String))

Returns:

  • (Hash(String=>Array(String)))


7
8
9
10
11
12
13
# File 'lib/checkout_sdk/workflows/event_workflow_condition.rb', line 7

class EventWorkflowCondition < WorkflowCondition
  attr_accessor :events

  def initialize
    super CheckoutSdk::Workflows::WorkflowConditionType::EVENT
  end
end