Sha256: 7e63ca152db8a95a306bab1d3edcc1fe5dde2b081d9d902b298815e6decb9ed7
Contents?: true
Size: 267 Bytes
Versions: 2
Compression:
Stored size: 267 Bytes
Contents
module CustomerVault class Individual < Person self.table_name = 'customer_vault_individuals' def name [self.last_name, self.first_name].join(', ') end validates_presence_of :first_name validates_presence_of :last_name end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
customer_vault-1.2.0 | app/models/customer_vault/individual.rb |
customer_vault-1.1.0 | app/models/customer_vault/individual.rb |