Class: Brainshell::Commands::Customer

Inherits:
Base
  • Object
show all
Defined in:
lib/brainshell/commands/customer.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(id) ⇒ Object



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

def find(id)
  customer = Braintree::Customer.find(id)

  build_table([customer])
end