Method: Spree::PaymentSource#actions

Defined in:
app/models/spree/payment_source.rb

#actionsArray<String>

Returns the actions available on this payment source.

Returns:

  • (Array<String>)

    the actions available on this payment source



19
20
21
# File 'app/models/spree/payment_source.rb', line 19

def actions
  %w(capture void credit)
end