Class: Reve::Classes::CharacterOtherCorporateMedal
- Inherits:
-
CharacterMedal
- Object
- Medal
- CharacterMedal
- Reve::Classes::CharacterOtherCorporateMedal
- Defined in:
- lib/reve/classes.rb
Overview
Composed in CharacterMedals. Issued by the Corporation the Character is a member Attributes:
-
corporation_id ( Fixnum ) - ID of the Corporation that issued the CharacterOtherCorporateMedal
-
title ( String ) - The title this CharacterOtherCorporateMedal bestows on the Character
-
description ( String ) - Description of the CharacterOtherCorporateMedal.
See Also: Medal, CharacterMedal, CorporateMemberMedal, CorporateMedal
Instance Attribute Summary (collapse)
-
- (Object) corporation_id
readonly
Returns the value of attribute corporation_id.
-
- (Object) description
readonly
Returns the value of attribute description.
-
- (Object) title
readonly
Returns the value of attribute title.
Attributes inherited from CharacterMedal
Attributes inherited from Medal
Instance Method Summary (collapse)
-
- (CharacterOtherCorporateMedal) initialize(elem)
constructor
:nodoc:.
Methods inherited from CharacterMedal
Constructor Details
- (CharacterOtherCorporateMedal) initialize(elem)
:nodoc:
914 915 916 917 918 919 |
# File 'lib/reve/classes.rb', line 914 def initialize(elem) #:nodoc: super(elem) @corporation_id = elem["corporationID"].to_i @title = elem["title"] @description = elem["description"] end |
Instance Attribute Details
- (Object) corporation_id (readonly)
Returns the value of attribute corporation_id
913 914 915 |
# File 'lib/reve/classes.rb', line 913 def corporation_id @corporation_id end |
- (Object) description (readonly)
Returns the value of attribute description
913 914 915 |
# File 'lib/reve/classes.rb', line 913 def description @description end |
- (Object) title (readonly)
Returns the value of attribute title
913 914 915 |
# File 'lib/reve/classes.rb', line 913 def title @title end |