Class: Spree::Gateway::BogusSimple Deprecated
- Inherits:
-
PaymentMethod::SimpleBogusCreditCard
- Object
- ActiveRecord::Base
- Base
- PaymentMethod
- PaymentMethod::CreditCard
- PaymentMethod::BogusCreditCard
- PaymentMethod::SimpleBogusCreditCard
- Spree::Gateway::BogusSimple
- Defined in:
- app/models/spree/gateway/bogus_simple.rb
Overview
Use Spree::PaymentMethod::SimpleBogusCreditCard instead
Constant Summary
Constants inherited from PaymentMethod::BogusCreditCard
PaymentMethod::BogusCreditCard::TEST_AMEX, PaymentMethod::BogusCreditCard::TEST_DISC, PaymentMethod::BogusCreditCard::TEST_MC, PaymentMethod::BogusCreditCard::TEST_VISA, PaymentMethod::BogusCreditCard::VALID_CCS
Constants inherited from PaymentMethod
Instance Attribute Summary
Attributes inherited from PaymentMethod::BogusCreditCard
Instance Method Summary collapse
-
#initialize(*args) ⇒ BogusSimple
constructor
A new instance of BogusSimple.
Methods inherited from PaymentMethod::SimpleBogusCreditCard
#authorize, #payment_profiles_supported?, #purchase
Methods inherited from PaymentMethod::BogusCreditCard
#actions, #authorize, #capture, #create_profile, #credit, #gateway_class, #payment_profiles_supported?, #purchase, #test?, #try_void, #void
Methods inherited from PaymentMethod::CreditCard
#partial_name, #payment_source_class, #reusable_sources, #reusable_sources_by_order, #supports?
Methods inherited from PaymentMethod
active?, #auto_capture?, available, #deprecated_method_type_override, #display_on, #display_on=, find_with_destroyed, #gateway, #method_type, model_name, #options, #partial_name, #payment_profiles_supported?, #payment_source_class, providers, #reusable_sources, #source_required?, #store_credit?, #supports?, #try_void
Methods included from Preferences::StaticallyConfigurable
#preference_source=, #preferences, #preferences=
Methods inherited from Base
display_includes, #initialize_preference_defaults, page, preference
Methods included from Preferences::Preferable
#default_preferences, #defined_preferences, #get_preference, #has_preference!, #has_preference?, #preference_default, #preference_type, #set_preference
Constructor Details
#initialize(*args) ⇒ BogusSimple
Returns a new instance of BogusSimple.
4 5 6 7 8 9 |
# File 'app/models/spree/gateway/bogus_simple.rb', line 4 def initialize(*args) Spree::Deprecation.warn \ 'Spree::Gateway::BogusSimple is deprecated. ' \ 'Please use Spree::PaymentMethod::SimpleBogusCreditCard instead' super end |