Class: KirguduBase::DynamicTransactions::TransactionInjection

Inherits:
KirguduBase::DynamicPages::Element show all
Defined in:
app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb

Instance Attribute Summary collapse

Attributes inherited from KirguduBase::DynamicPages::Element

#parent_entry

Instance Method Summary collapse

Methods inherited from KirguduBase::DynamicPages::Element

#as_json, #fix_parent_entry, #kontroller_klass, #to_external_hash

Methods included from Models::MergeableElements::ClassMethods

#get_mergeable_attributes, #mergeable_attributes

Methods included from Models::FixableElements::ClassMethods

#fixable_attributes, #get_kb_fixable_attributes

Methods included from Models::FixableElements::InstanceMethods

#fix_parent_entry

Methods included from Models::MergeableElements::InstanceMethods

#merge

Constructor Details

#initialize(options = {}) ⇒ TransactionInjection

Returns a new instance of TransactionInjection.



9
10
11
12
13
14
15
16
# File 'app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb', line 9

def initialize(options={})
	#self.name = nil
	self.flow_position = nil
	self.action = nil
	self.method = nil

	super(options)
end

Instance Attribute Details

#actionObject

action for which inection is applied



20
21
22
# File 'app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb', line 20

def action
  @action
end

#flow_positionObject

attr_accessor :name #



19
20
21
# File 'app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb', line 19

def flow_position
  @flow_position
end

#methodObject

method to invoke when processing transaction injection



21
22
23
# File 'app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb', line 21

def method
  @method
end