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-1.0.0 spec/dummy/app/models/bank_account.rb
catarse_pagarme-0.1.8 spec/dummy/app/models/bank_account.rb
catarse_pagarme-0.1.7 spec/dummy/app/models/bank_account.rb
catarse_pagarme-0.1.6 spec/dummy/app/models/bank_account.rb
catarse_pagarme-0.1.5 spec/dummy/app/models/bank_account.rb
catarse_pagarme-0.1.4 spec/dummy/app/models/bank_account.rb
catarse_pagarme-0.2.0 spec/dummy/app/models/bank_account.rb
catarse_pagarme-0.1.3 spec/dummy/app/models/bank_account.rb
catarse_pagarme-0.1.2 spec/dummy/app/models/bank_account.rb
catarse_pagarme-0.1.1 spec/dummy/app/models/bank_account.rb
catarse_pagarme-0.1.0 spec/dummy/app/models/bank_account.rb