Class: Reve::Classes::CharacterMedals
Overview
Container for the CharacterMedal since there's two kinds returned in XML Attributes:
-
current_corporation ( [ CharacterMedal ] ) - Array of CharacterMedal for the Corporation this Character is currently in
-
other_corporation ( [ CharacterOtherCorporateMedal ] ) - Array of CharacterOtherCorporateMedal from other Corporations
See also: Medal, CharacterMedal, Reve::API#character_medals
Instance Attribute Summary (collapse)
-
- (Object) current_corporation
readonly
Returns the value of attribute current_corporation.
-
- (Object) other_corporation
readonly
Returns the value of attribute other_corporation.
Instance Method Summary (collapse)
-
- (CharacterMedals) initialize(current, other)
constructor
A new instance of CharacterMedals.
Constructor Details
- (CharacterMedals) initialize(current, other)
A new instance of CharacterMedals
863 864 865 866 |
# File 'lib/reve/classes.rb', line 863 def initialize(current, other) @current_corporation = current @other_corporation = other end |
Instance Attribute Details
- (Object) current_corporation (readonly)
Returns the value of attribute current_corporation
862 863 864 |
# File 'lib/reve/classes.rb', line 862 def current_corporation @current_corporation end |
- (Object) other_corporation (readonly)
Returns the value of attribute other_corporation
862 863 864 |
# File 'lib/reve/classes.rb', line 862 def other_corporation @other_corporation end |