lib/active_merchant/common/post_data.rb in activemerchant-1.14.0 vs lib/active_merchant/common/post_data.rb in activemerchant-1.15.0

- old
+ new

@@ -1,9 +1,9 @@ require 'cgi' module ActiveMerchant class PostData < Hash - class_inheritable_accessor :required_fields, :instance_writer => false + class_attribute :required_fields, :instance_writer => false self.required_fields = [] def []=(key, value) return if value.blank? && !required?(key) super \ No newline at end of file