Class: GlobalCollect::Requests::ProcessChallenged
- Defined in:
- lib/global_collect/requests/process_challenged.rb
Instance Attribute Summary
Attributes inherited from Base
#action, #suggested_response_mixins, #version
Instance Method Summary collapse
- #fields ⇒ Object
-
#initialize(order_id, effort_id = nil, attempt_id = nil) ⇒ ProcessChallenged
constructor
WDL §5.30.
- #wrapper ⇒ Object
Methods inherited from Simple
Methods inherited from Base
#default_xml_encoding_options, #to_xml
Constructor Details
#initialize(order_id, effort_id = nil, attempt_id = nil) ⇒ ProcessChallenged
WDL §5.30
4 5 6 7 8 9 10 |
# File 'lib/global_collect/requests/process_challenged.rb', line 4 def initialize(order_id, effort_id=nil, attempt_id=nil) super("PROCESS_CHALLENGED", { "ORDERID" => order_id, "EFFORTID" => effort_id, "ATTEMPTID" => attempt_id }) end |
Instance Method Details
#fields ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/global_collect/requests/process_challenged.rb', line 14 def fields { "ORDERID" => ["N10", "R"], "EFFORTID" => ["N5", "O"], "ATTEMPTID" => ["N5", "O"] } end |
#wrapper ⇒ Object
12 |
# File 'lib/global_collect/requests/process_challenged.rb', line 12 def wrapper; "PAYMENT"; end |