Class: TestCard
- Inherits:
-
Spree::CreditCard
- Object
- ActiveRecord::Base
- Spree::CreditCard
- TestCard
- Defined in:
- lib/spree/core/testing_support/factories/credit_card_factory.rb
Overview
allows credit card info to be saved to the database which is needed for factories to work properly
Instance Attribute Summary
Attributes inherited from Spree::CreditCard
Instance Method Summary collapse
Methods inherited from Spree::CreditCard
#actions, #brand, #can_capture?, #can_credit?, #can_void?, #display_number, #first_name?, #has_payment_profile?, #last_name?, #name, #name?, #set_card_type, #set_last_digits, #spree_cc_type, #to_active_merchant, #verification_value?
Instance Method Details
#remove_readonly_attributes(attributes) ⇒ Object
3 |
# File 'lib/spree/core/testing_support/factories/credit_card_factory.rb', line 3 def remove_readonly_attributes(attributes) attributes; end |