Class: EwayRapid::Message::TransactionProcess::TransQueryMsgProcess
- Inherits:
-
Object
- Object
- EwayRapid::Message::TransactionProcess::TransQueryMsgProcess
- Includes:
- RestProcess
- Defined in:
- lib/eway_rapid/message/process/transaction_process.rb
Overview
Query transaction message process
Class Method Summary collapse
- .make_result(response) ⇒ QueryTransactionResponse
- .process_post_msg(url, api_key, password) ⇒ Object
Methods included from RestProcess
Class Method Details
.make_result(response) ⇒ QueryTransactionResponse
131 132 133 134 135 |
# File 'lib/eway_rapid/message/process/transaction_process.rb', line 131 def self.make_result(response) transaction_search_resp = TransactionSearchResponse.from_json(response) converter = Convert::Response::SearchToQueryTrans.new converter.do_convert(transaction_search_resp) end |
.process_post_msg(url, api_key, password) ⇒ Object
125 126 127 |
# File 'lib/eway_rapid/message/process/transaction_process.rb', line 125 def self.process_post_msg(url, api_key, password) TransQueryMsgProcess.new.do_get(url, api_key, password) end |