Sha256: 39d6fb54cff1110ceb03edec96eac88a1748813af929505ad52c545af97ccd3d
Contents?: true
Size: 491 Bytes
Versions: 12
Compression:
Stored size: 491 Bytes
Contents
class Dorsale::CustomerVault::Individual < Dorsale::CustomerVault::Person serialize :data, Dorsale::CustomerVault::IndividualData def_delegators :data, *Dorsale::CustomerVault::IndividualData.methods_to_delegate validates :first_name, presence: true validates :last_name, presence: true def name [self.last_name, self.first_name].join(", ") end private def corporation_name; raise NoMethodError; end private def corporation_name=; raise NoMethodError; end end
Version data entries
12 entries across 12 versions & 1 rubygems