Exception: MadCart::Store::SetupError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/mad_cart/store/base.rb

Class Method Summary collapse

Class Method Details

.messageObject



4
5
6
7
8
9
10
# File 'lib/mad_cart/store/base.rb', line 4

def self.message
  "It appears MyStore has overrided the default "\
  "MadCart::Base initialize method. That's fine, but please store "\
  "any required connection arguments as @init_args for the "\
  "#connection method to use later. Remember to call #after_initialize "\
  "in your initialize method should you require it."
end