class Stripe::CLI::Commands::Refunds
Public Instance Methods
create()
click to toggle source
Calls superclass method
Stripe::CLI::Command#create
# File lib/stripe/cli/commands/refunds.rb, line 33 def create options[:amount] = convert_amount(options[:amount]) if options[:amount] if charge = retrieve_charge(options.delete :charge) super charge.refunds, options end end
find(refund_id)
click to toggle source
Calls superclass method
Stripe::CLI::Command#find
# File lib/stripe/cli/commands/refunds.rb, line 22 def find refund_id if charge = retrieve_charge(options.delete :charge) super charge.refunds, refund_id end end
list()
click to toggle source
Calls superclass method
Stripe::CLI::Command#list
# File lib/stripe/cli/commands/refunds.rb, line 14 def list if charge = retrieve_charge(options.delete :charge) super charge.refunds, options end end