Class: Brainshell::Commands::CreditCard

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

Constant Summary

Constants included from ValueFormatter

ValueFormatter::KNOWN_FORMAT_METHODS

Instance Method Summary collapse

Methods inherited from Base

define_query_options, multiple_search_fields, range_search_fields, text_search_fields

Methods included from ValueFormatter

#format_value

Instance Method Details

#find(id) ⇒ Object



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

def find(id)
  credit_card = Braintree::CreditCard.find(id)
  build_table([credit_card])
end