Class: Nzbn::Models::Role
Overview
Role model (director, partner, trustee, etc.)
Instance Attribute Summary collapse
-
#acn ⇒ Object
Returns the value of attribute acn.
-
#asic_directorship_yn ⇒ Object
Returns the value of attribute asic_directorship_yn.
-
#asic_name ⇒ Object
Returns the value of attribute asic_name.
-
#end_date ⇒ Object
Returns the value of attribute end_date.
-
#role_address ⇒ Object
Returns the value of attribute role_address.
-
#role_asic_address ⇒ Object
Returns the value of attribute role_asic_address.
-
#role_entity ⇒ Object
Returns the value of attribute role_entity.
-
#role_person ⇒ Object
Returns the value of attribute role_person.
-
#role_status ⇒ Object
Returns the value of attribute role_status.
-
#role_type ⇒ Object
Returns the value of attribute role_type.
-
#start_date ⇒ Object
Returns the value of attribute start_date.
-
#unique_identifier ⇒ Object
Returns the value of attribute unique_identifier.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Role
constructor
A new instance of Role.
Methods inherited from Base
Constructor Details
#initialize(attributes = {}) ⇒ Role
Returns a new instance of Role.
12 13 14 15 |
# File 'lib/nzbn/models/role.rb', line 12 def initialize(attributes = {}) super @role_person = RolePerson.new(attributes['rolePerson']) if attributes['rolePerson'] end |
Instance Attribute Details
#acn ⇒ Object
Returns the value of attribute acn.
7 8 9 |
# File 'lib/nzbn/models/role.rb', line 7 def acn @acn end |
#asic_directorship_yn ⇒ Object
Returns the value of attribute asic_directorship_yn.
7 8 9 |
# File 'lib/nzbn/models/role.rb', line 7 def asic_directorship_yn @asic_directorship_yn end |
#asic_name ⇒ Object
Returns the value of attribute asic_name.
7 8 9 |
# File 'lib/nzbn/models/role.rb', line 7 def asic_name @asic_name end |
#end_date ⇒ Object
Returns the value of attribute end_date.
7 8 9 |
# File 'lib/nzbn/models/role.rb', line 7 def end_date @end_date end |
#role_address ⇒ Object
Returns the value of attribute role_address.
7 8 9 |
# File 'lib/nzbn/models/role.rb', line 7 def role_address @role_address end |
#role_asic_address ⇒ Object
Returns the value of attribute role_asic_address.
7 8 9 |
# File 'lib/nzbn/models/role.rb', line 7 def role_asic_address @role_asic_address end |
#role_entity ⇒ Object
Returns the value of attribute role_entity.
7 8 9 |
# File 'lib/nzbn/models/role.rb', line 7 def role_entity @role_entity end |
#role_person ⇒ Object
Returns the value of attribute role_person.
7 8 9 |
# File 'lib/nzbn/models/role.rb', line 7 def role_person @role_person end |
#role_status ⇒ Object
Returns the value of attribute role_status.
7 8 9 |
# File 'lib/nzbn/models/role.rb', line 7 def role_status @role_status end |
#role_type ⇒ Object
Returns the value of attribute role_type.
7 8 9 |
# File 'lib/nzbn/models/role.rb', line 7 def role_type @role_type end |
#start_date ⇒ Object
Returns the value of attribute start_date.
7 8 9 |
# File 'lib/nzbn/models/role.rb', line 7 def start_date @start_date end |
#unique_identifier ⇒ Object
Returns the value of attribute unique_identifier.
7 8 9 |
# File 'lib/nzbn/models/role.rb', line 7 def unique_identifier @unique_identifier end |