Sha256: 5211cb3626dde4d4fd2e00725e262b75777e9776912ae0f3224def47c30f5612

Contents?: true

Size: 351 Bytes

Versions: 63

Compression:

Stored size: 351 Bytes

Contents

class Contribution < ActiveRecord::Base
  belongs_to :user
  belongs_to :project
  has_many :payment_notifications

  def confirmed?
    false
  end

  def update_current_billing_info
  end

  def confirm!
    true
  end
  alias :confirm :confirm!

  def waiting_confirmation?
  end

  def waiting
  end

  def cancel
  end

  def canceled?
  end
end

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
catarse_pagarme-0.1.0 spec/dummy/app/models/contribution.rb
catarse_pagarme-0.0.2 spec/dummy/app/models/contribution.rb
catarse_pagarme-0.0.1 spec/dummy/app/models/contribution.rb