Sha256: 30ec2ef29479655d970413f317759bbe611503646c4d821ab33cdccb8a7c5c86
Contents?: true
Size: 466 Bytes
Versions: 8
Compression:
Stored size: 466 Bytes
Contents
module EWayClient class QueryTxnStatusRequest < BaseRequest attribute :agent_code, String attribute :username, String attribute :password, String attribute :transaction_id, String MESSAGE_ATTRS = %i[ agent_code username password transaction_id ] private def default_message MESSAGE_ATTRS.each_with_object({}) do |attr, hash| hash[attr.to_s.upcase] = send(attr) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems