Module: Bcash::Api::FindTransaction

Included in:
Client
Defined in:
lib/bcash/api/find_transaction.rb

Constant Summary collapse

URL =
'https://www.pagamentodigital.com.br/transacao/consulta'

Instance Method Summary collapse

Instance Method Details

#find_by_order_id(order_id) ⇒ Object



5
6
7
# File 'lib/bcash/api/find_transaction.rb', line 5

def find_by_order_id(order_id)
  find(id_pedido: order_id)
end

#find_by_transaction_id(transaction_id) ⇒ Object



9
10
11
# File 'lib/bcash/api/find_transaction.rb', line 9

def find_by_transaction_id(transaction_id)
  find(id_transacao: transaction_id)
end