Sha256: 6a4a41d83ddb311159c047b5023db53dc8bf487fd3bcf6149365ddabe63f92f3

Contents?: true

Size: 199 Bytes

Versions: 71

Compression:

Stored size: 199 Bytes

Contents

class BankAccount < ActiveRecord::Base
  belongs_to :user
  belongs_to :bank

  validates :bank_id, :agency, :agency_digit, :account, :owner_name, :owner_document, :account_digit, presence: true
end

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
catarse_pagarme-2.6.9 spec/dummy/app/models/bank_account.rb
catarse_pagarme-2.6.8 spec/dummy/app/models/bank_account.rb
catarse_pagarme-2.6.7 spec/dummy/app/models/bank_account.rb
catarse_pagarme-2.6.6 spec/dummy/app/models/bank_account.rb
catarse_pagarme-2.6.5 spec/dummy/app/models/bank_account.rb
catarse_pagarme-2.6.4 spec/dummy/app/models/bank_account.rb
catarse_pagarme-2.6.3 spec/dummy/app/models/bank_account.rb
catarse_pagarme-2.6.2 spec/dummy/app/models/bank_account.rb
catarse_pagarme-2.6.1 spec/dummy/app/models/bank_account.rb
catarse_pagarme-2.6.0 spec/dummy/app/models/bank_account.rb
catarse_pagarme-2.5.1 spec/dummy/app/models/bank_account.rb
catarse_pagarme-2.5.0 spec/dummy/app/models/bank_account.rb
catarse_pagarme-2.4.10 spec/dummy/app/models/bank_account.rb
catarse_pagarme-2.4.9 spec/dummy/app/models/bank_account.rb
catarse_pagarme-2.4.8 spec/dummy/app/models/bank_account.rb
catarse_pagarme-2.4.7 spec/dummy/app/models/bank_account.rb
catarse_pagarme-2.4.6 spec/dummy/app/models/bank_account.rb
catarse_pagarme-2.4.5 spec/dummy/app/models/bank_account.rb
catarse_pagarme-2.4.4 spec/dummy/app/models/bank_account.rb
catarse_pagarme-2.4.3 spec/dummy/app/models/bank_account.rb