Class: TestCard
- Inherits:
-
Creditcard
- Object
- ActiveRecord::Base
- 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 Creditcard
Instance Method Summary collapse
Methods inherited from Creditcard
#actions, #authorize, #brand, #can_capture?, #can_credit?, #can_void?, #capture, #check_environment, #credit, #display_number, #first_name?, #gateway_error, #gateway_options, #generate_address_hash, #has_payment_profile?, #last_name?, #minimal_gateway_options, #name, #name?, #process!, #purchase, #record_log, #set_card_type, #set_last_digits, #spree_cc_type, #verification_value?, #void
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 |