Class: Dorsale::CustomerVault::Corporation

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

Instance Method Summary collapse

Methods inherited from Person

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

Methods included from Search

included

Constructor Details

This class inherits a constructor from Dorsale::CustomerVault::Person

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