lib/piggybak/config.rb in piggybak-0.6.19 vs lib/piggybak/config.rb in piggybak-0.6.20
- old
+ new
@@ -13,11 +13,22 @@
attr_accessor :whois_url
attr_accessor :line_item_types
attr_accessor :secure_checkout
attr_accessor :secure_prefix
attr_accessor :extra_secure_paths
+ attr_accessor :manage_classes
+ attr_accessor :extra_abilities
def reset
+ @manage_classes = ["::Piggybak::Sellable",
+ "::Piggybak::ShippingMethod",
+ "::Piggybak::PaymentMethod",
+ "::Piggybak::TaxMethod",
+ "::Piggybak::State",
+ "::Piggybak::Country",
+ "::Piggybak::Order"]
+ @extra_abilities = []
+
@email_sender = "support@piggybak.org"
@order_cc = nil
@payment_calculators = ["::Piggybak::PaymentCalculator::Fake",
"::Piggybak::PaymentCalculator::AuthorizeNet"]