lib/piggybak/config.rb in piggybak-0.6.34 vs lib/piggybak/config.rb in piggybak-0.7.0
- old
+ new
@@ -15,10 +15,11 @@
attr_accessor :secure_checkout
attr_accessor :secure_prefix
attr_accessor :extra_secure_paths
attr_accessor :manage_classes
attr_accessor :extra_abilities
+ attr_accessor :additional_line_item_attributes
def reset
@manage_classes = ["::Piggybak::Sellable",
"::Piggybak::ShippingMethod",
"::Piggybak::PaymentMethod",
@@ -73,9 +74,10 @@
@whois_url = nil
@secure_checkout = false
@secure_prefix = ''
@extra_secure_paths = []
+ @additional_line_item_attributes = {}
end
end
self.reset
end