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 inherited from ApplicationRecord

last_created

Instance Method Details

#nameObject



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

def name
  corporation_name
end

#name=(corporation_name) ⇒ Object



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

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