Class: AdvancedBilling::BankAccountVault
- Inherits:
-
Object
- Object
- AdvancedBilling::BankAccountVault
- Defined in:
- lib/advanced_billing/models/bank_account_vault.rb
Overview
The vault that stores the payment profile with the provided vault_token. Use ‘bogus` for testing.
Constant Summary collapse
- BANK_ACCOUNT_VAULT =
[ # TODO: Write general description for AUTHORIZENET AUTHORIZENET = 'authorizenet'.freeze, # TODO: Write general description for BLUE_SNAP BLUE_SNAP = 'blue_snap'.freeze, # TODO: Write general description for BOGUS BOGUS = 'bogus'.freeze, # TODO: Write general description for FORTE FORTE = 'forte'.freeze, # TODO: Write general description for GOCARDLESS GOCARDLESS = 'gocardless'.freeze, # TODO: Write general description for MAXIO_PAYMENTS MAXIO_PAYMENTS = 'maxio_payments'.freeze, # TODO: Write general description for MAXP MAXP = 'maxp'.freeze, # TODO: Write general description for STRIPE_CONNECT STRIPE_CONNECT = 'stripe_connect'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
36 37 38 39 40 |
# File 'lib/advanced_billing/models/bank_account_vault.rb', line 36 def self.validate(value) return false if value.nil? BANK_ACCOUNT_VAULT.include?(value) end |