Class: TestCard
- Inherits:
-
Spree::Creditcard
- Object
- ActiveRecord::Base
- Spree::Creditcard
- TestCard
- Defined in:
- lib/spree/core/testing_support/factories/creditcard_factory.rb
Overview
allows creditcard info to be saved to the datbase 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, #verification_value?
Instance Method Details
#remove_readonly_attributes(attributes) ⇒ Object
3 |
# File 'lib/spree/core/testing_support/factories/creditcard_factory.rb', line 3 def remove_readonly_attributes(attributes) attributes; end |