Method: Braspag::Converter.from_authorize

Defined in:
lib/cbraspag/core/converter.rb

.from_authorize(data) ⇒ Object



110
111
112
113
114
115
116
117
118
119
# File 'lib/cbraspag/core/converter.rb', line 110

def self.from_authorize(data)
  to_map(data, {
    :amount => nil,
    :number => "authorisationNumber",
    :message => 'message',
    :return_code => 'returnCode',
    :status => 'status',
    :transaction_id => "transactionId"
  })
end