Sha256: 1b85c463a7b0550937efb23e172ebdbb5bbf578272aa7e7c8c5b7879407a6def

Contents?: true

Size: 268 Bytes

Versions: 47

Compression:

Stored size: 268 Bytes

Contents

class Contribution < ActiveRecord::Base
  belongs_to :user
  belongs_to :project
  belongs_to :country
  has_many :payment_notifications
  has_many :payments
  scope :was_confirmed, -> { where("contributions.was_confirmed") }

  def international?
    false
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

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