Class: Dorsale::CustomerVault::Corporation

Inherits:
Person show all
Defined in:
app/models/dorsale/customer_vault/corporation.rb

Instance Method Summary collapse

Methods inherited from Person

#corporation?, #destroy_links, #individual?, #links, #person_type, policy_class, #tags_on, #verify_class

Methods included from Search

included

Methods inherited from ApplicationRecord

last_created

Methods included from DefaultValuesConcern

#assign_default, #assign_default_values

Instance Method Details

#nameObject



7
8
9
# File 'app/models/dorsale/customer_vault/corporation.rb', line 7

def name
  corporation_name
end

#name=(corporation_name) ⇒ Object



11
12
13
# File 'app/models/dorsale/customer_vault/corporation.rb', line 11

def name=(corporation_name)
  self.corporation_name = corporation_name
end