Class: Brainshell::Commands::Transaction

Inherits:
Base
  • Object
show all
Defined in:
lib/brainshell/commands/transaction.rb

Constant Summary

Constants included from ValueFormatter

ValueFormatter::KNOWN_FORMAT_METHODS

Instance Method Summary collapse

Methods included from ValueFormatter

#format_value

Instance Method Details

#find(token) ⇒ Object



6
7
8
9
10
# File 'lib/brainshell/commands/transaction.rb', line 6

def find(token)
  transaction = Braintree::Transaction.find(token)

  build_table([transaction])
end