Class: Reve::Classes::CorporationMember
Overview
Part of the CorporationMemberSecurity; represnets a Corporation’s member All of these values are internal to CCP; shape_1
matches with color_1
and so on. Attributes
-
name ( String ) - Name of the Character
-
id ( Fixnum ) - ID of the Character
-
roles ( [CorporateRole] ) - Array of Roles
Instance Attribute Summary collapse
-
#grantableRoles ⇒ Object
Returns the value of attribute grantableRoles.
-
#grantableRolesAtBase ⇒ Object
(also: #grantable_roles_at_base)
Returns the value of attribute grantableRolesAtBase.
-
#grantableRolesAtHQ ⇒ Object
(also: #grantable_roles_at_hq)
Returns the value of attribute grantableRolesAtHQ.
-
#grantableRolesAtOther ⇒ Object
(also: #grantable_roles_at_other)
Returns the value of attribute grantableRolesAtOther.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#roles ⇒ Object
Returns the value of attribute roles.
-
#rolesAtBase ⇒ Object
(also: #roles_at_base)
Returns the value of attribute rolesAtBase.
-
#rolesAtHQ ⇒ Object
(also: #roles_at_hq)
Returns the value of attribute rolesAtHQ.
-
#rolesAtOther ⇒ Object
(also: #roles_at_other)
Returns the value of attribute rolesAtOther.
-
#titles ⇒ Object
Returns the value of attribute titles.
Instance Method Summary collapse
-
#initialize(elem) ⇒ CorporationMember
constructor
:nodoc:.
Constructor Details
#initialize(elem) ⇒ CorporationMember
:nodoc:
728 729 730 731 732 733 734 735 736 737 738 739 740 741 |
# File 'lib/reve/classes.rb', line 728 def initialize(elem) #:nodoc: @id = elem['characterID'].to_i @name = elem['name'] @roles = [] @grantableRoles = [] @rolesAtHQ = [] @grantableRolesAtHQ = [] @rolesAtBase = [] @grantableRolesAtBase = [] @rolesAtOther = [] @grantableRolesAtOther = [] @titles = [] end |
Instance Attribute Details
#grantableRoles ⇒ Object
Returns the value of attribute grantableRoles.
717 718 719 |
# File 'lib/reve/classes.rb', line 717 def grantableRoles @grantableRoles end |
#grantableRolesAtBase ⇒ Object Also known as: grantable_roles_at_base
Returns the value of attribute grantableRolesAtBase.
718 719 720 |
# File 'lib/reve/classes.rb', line 718 def grantableRolesAtBase @grantableRolesAtBase end |
#grantableRolesAtHQ ⇒ Object Also known as: grantable_roles_at_hq
Returns the value of attribute grantableRolesAtHQ.
717 718 719 |
# File 'lib/reve/classes.rb', line 717 def grantableRolesAtHQ @grantableRolesAtHQ end |
#grantableRolesAtOther ⇒ Object Also known as: grantable_roles_at_other
Returns the value of attribute grantableRolesAtOther.
718 719 720 |
# File 'lib/reve/classes.rb', line 718 def grantableRolesAtOther @grantableRolesAtOther end |
#id ⇒ Object
Returns the value of attribute id.
719 720 721 |
# File 'lib/reve/classes.rb', line 719 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
719 720 721 |
# File 'lib/reve/classes.rb', line 719 def name @name end |
#roles ⇒ Object
Returns the value of attribute roles.
717 718 719 |
# File 'lib/reve/classes.rb', line 717 def roles @roles end |
#rolesAtBase ⇒ Object Also known as: roles_at_base
Returns the value of attribute rolesAtBase.
717 718 719 |
# File 'lib/reve/classes.rb', line 717 def rolesAtBase @rolesAtBase end |
#rolesAtHQ ⇒ Object Also known as: roles_at_hq
Returns the value of attribute rolesAtHQ.
717 718 719 |
# File 'lib/reve/classes.rb', line 717 def rolesAtHQ @rolesAtHQ end |
#rolesAtOther ⇒ Object Also known as: roles_at_other
Returns the value of attribute rolesAtOther.
718 719 720 |
# File 'lib/reve/classes.rb', line 718 def rolesAtOther @rolesAtOther end |
#titles ⇒ Object
Returns the value of attribute titles.
718 719 720 |
# File 'lib/reve/classes.rb', line 718 def titles @titles end |