Class: Stripe::CLI::Commands::Transactions
- Inherits:
-
Stripe::CLI::Command
- Object
- Thor
- Stripe::CLI::Command
- Stripe::CLI::Commands::Transactions
- Defined in:
- lib/stripe/cli/commands/transactions.rb
Instance Method Summary collapse
Methods inherited from Stripe::CLI::Command
Instance Method Details
#find(transaction_id) ⇒ Object
20 21 22 |
# File 'lib/stripe/cli/commands/transactions.rb', line 20 def find transaction_id super Stripe::BalanceTransaction, transaction_id end |
#list(type = 'all') ⇒ Object
14 15 16 17 |
# File 'lib/stripe/cli/commands/transactions.rb', line 14 def list type = 'all' [:type] = type.sub(/s$/,'') unless type == 'all' super Stripe::BalanceTransaction, end |