Sha256: 1169236df6c1272002303e8efeb60e5c5445efc3d5cddf6a341f2a55d9624090

Contents?: true

Size: 750 Bytes

Versions: 18

Compression:

Stored size: 750 Bytes

Contents

module KirguduBase
	module DynamicTransactions
		class TransactionInjection < ::KirguduBase::DynamicPages::Element

			validates_presence_of :flow_position, :action, :method
			#validates_presence_of :name, :flow_position, :action, :method
			validates_inclusion_of :flow_position, in: ::KirguduBase::DynamicTransactions::Enums::ALLOWED_FLOW_POSITIONS

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

				super(options)
			end

			#attr_accessor :name #
			attr_accessor :flow_position # position in action flow
			attr_accessor :action # action for which inection is applied
			attr_accessor :method # method to invoke when processing transaction injection

		end
	end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
kirgudu_base-0.0.21 app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb
kirgudu_base-0.0.19 app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb
kirgudu_base-0.0.18 app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb
kirgudu_base-0.0.17 app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb
kirgudu_base-0.0.16 app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb
kirgudu_base-0.0.15 app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb
kirgudu_base-0.0.14 app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb
kirgudu_base-0.0.13 app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb
kirgudu_base-0.0.12 app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb
kirgudu_base-0.0.11 app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb
kirgudu_base-0.0.10 app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb
kirgudu_base-0.0.9 app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb
kirgudu_base-0.0.8 app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb
kirgudu_base-0.0.7 app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb
kirgudu_base-0.0.6 app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb
kirgudu_base-0.0.5 app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb
kirgudu_base-0.0.4 app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb
kirgudu_base-0.0.3 app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb