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:
639 640 641 642 643 644 645 646 647 648 649 650 651 652 |
# File 'lib/reve/classes.rb', line 639 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.
628 629 630 |
# File 'lib/reve/classes.rb', line 628 def grantableRoles @grantableRoles end |
#grantableRolesAtBase ⇒ Object Also known as: grantable_roles_at_base
Returns the value of attribute grantableRolesAtBase.
629 630 631 |
# File 'lib/reve/classes.rb', line 629 def grantableRolesAtBase @grantableRolesAtBase end |
#grantableRolesAtHQ ⇒ Object Also known as: grantable_roles_at_hq
Returns the value of attribute grantableRolesAtHQ.
628 629 630 |
# File 'lib/reve/classes.rb', line 628 def grantableRolesAtHQ @grantableRolesAtHQ end |
#grantableRolesAtOther ⇒ Object Also known as: grantable_roles_at_other
Returns the value of attribute grantableRolesAtOther.
629 630 631 |
# File 'lib/reve/classes.rb', line 629 def grantableRolesAtOther @grantableRolesAtOther end |
#id ⇒ Object
Returns the value of attribute id.
630 631 632 |
# File 'lib/reve/classes.rb', line 630 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
630 631 632 |
# File 'lib/reve/classes.rb', line 630 def name @name end |
#roles ⇒ Object
Returns the value of attribute roles.
628 629 630 |
# File 'lib/reve/classes.rb', line 628 def roles @roles end |
#rolesAtBase ⇒ Object Also known as: roles_at_base
Returns the value of attribute rolesAtBase.
628 629 630 |
# File 'lib/reve/classes.rb', line 628 def rolesAtBase @rolesAtBase end |
#rolesAtHQ ⇒ Object Also known as: roles_at_hq
Returns the value of attribute rolesAtHQ.
628 629 630 |
# File 'lib/reve/classes.rb', line 628 def rolesAtHQ @rolesAtHQ end |
#rolesAtOther ⇒ Object Also known as: roles_at_other
Returns the value of attribute rolesAtOther.
629 630 631 |
# File 'lib/reve/classes.rb', line 629 def rolesAtOther @rolesAtOther end |
#titles ⇒ Object
Returns the value of attribute titles.
629 630 631 |
# File 'lib/reve/classes.rb', line 629 def titles @titles end |