Class: Reve::Classes::CorporationMember

Inherits:
Object
  • Object
show all
Defined in:
lib/reve/classes.rb

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

Instance Method Summary collapse

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

#grantableRolesObject

Returns the value of attribute grantableRoles.



628
629
630
# File 'lib/reve/classes.rb', line 628

def grantableRoles
  @grantableRoles
end

#grantableRolesAtBaseObject 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

#grantableRolesAtHQObject 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

#grantableRolesAtOtherObject 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

#idObject

Returns the value of attribute id.



630
631
632
# File 'lib/reve/classes.rb', line 630

def id
  @id
end

#nameObject

Returns the value of attribute name.



630
631
632
# File 'lib/reve/classes.rb', line 630

def name
  @name
end

#rolesObject

Returns the value of attribute roles.



628
629
630
# File 'lib/reve/classes.rb', line 628

def roles
  @roles
end

#rolesAtBaseObject 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

#rolesAtHQObject 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

#rolesAtOtherObject 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

#titlesObject

Returns the value of attribute titles.



629
630
631
# File 'lib/reve/classes.rb', line 629

def titles
  @titles
end