Sha256: ac1d07f413288bb0b1c46d6e7aad234bc1699ec80eb302574258708cdf3d97ad

Contents?: true

Size: 259 Bytes

Versions: 4

Compression:

Stored size: 259 Bytes

Contents

class Creditcard < ActiveMerchant::Billing::CreditCard
  # Just a hack to make active_presenter happy (note the AM CreditCard class does not extend ActiveRecord::Base)
  def remove_attributes_protected_from_mass_assignment(attributes)
    attributes
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree-0.4.0 app/models/creditcard.rb
spree-0.4.1 app/models/creditcard.rb
spree-0.5.0 app/models/creditcard.rb
spree-0.5.1 app/models/creditcard.rb