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:



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

#grantableRolesObject

Returns the value of attribute grantableRoles.



717
718
719
# File 'lib/reve/classes.rb', line 717

def grantableRoles
  @grantableRoles
end

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

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

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

#idObject

Returns the value of attribute id.



719
720
721
# File 'lib/reve/classes.rb', line 719

def id
  @id
end

#nameObject

Returns the value of attribute name.



719
720
721
# File 'lib/reve/classes.rb', line 719

def name
  @name
end

#rolesObject

Returns the value of attribute roles.



717
718
719
# File 'lib/reve/classes.rb', line 717

def roles
  @roles
end

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

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

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

#titlesObject

Returns the value of attribute titles.



718
719
720
# File 'lib/reve/classes.rb', line 718

def titles
  @titles
end