Sha256: 6986b2f41fb85a076378691057d6348afe3c9529e8d6f02d20ce846c1e53111d

Contents?: true

Size: 231 Bytes

Versions: 52

Compression:

Stored size: 231 Bytes

Contents

class PaymentEngines
  def self.new_payment(attributes={})
    Payment.new attributes
  end

  def self.find_contribution(id)
    Contribution.find id
  end

  def self.find_payment filter
    Payment.where(filter).first
  end
end

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
catarse_pagarme-2.13.0 spec/dummy/app/models/payment_engines.rb
catarse_pagarme-2.12.0 spec/dummy/app/models/payment_engines.rb
catarse_pagarme-2.11.0 spec/dummy/app/models/payment_engines.rb
catarse_pagarme-2.10.15 spec/dummy/app/models/payment_engines.rb
catarse_pagarme-2.10.14 spec/dummy/app/models/payment_engines.rb
catarse_pagarme-2.10.13 spec/dummy/app/models/payment_engines.rb
catarse_pagarme-2.10.12 spec/dummy/app/models/payment_engines.rb
catarse_pagarme-2.10.11 spec/dummy/app/models/payment_engines.rb
catarse_pagarme-2.10.10 spec/dummy/app/models/payment_engines.rb
catarse_pagarme-2.10.9 spec/dummy/app/models/payment_engines.rb
catarse_pagarme-2.10.8 spec/dummy/app/models/payment_engines.rb
catarse_pagarme-2.10.7 spec/dummy/app/models/payment_engines.rb
catarse_pagarme-2.10.6 spec/dummy/app/models/payment_engines.rb
catarse_pagarme-2.10.5 spec/dummy/app/models/payment_engines.rb
catarse_pagarme-2.10.4 spec/dummy/app/models/payment_engines.rb
catarse_pagarme-2.10.2 spec/dummy/app/models/payment_engines.rb
catarse_pagarme-2.10.1 spec/dummy/app/models/payment_engines.rb
catarse_pagarme-2.10.0 spec/dummy/app/models/payment_engines.rb
catarse_pagarme-2.9.13 spec/dummy/app/models/payment_engines.rb
catarse_pagarme-2.9.12 spec/dummy/app/models/payment_engines.rb