Class: Member
- Inherits:
-
Object
- Object
- Member
- Defined in:
- lib/sightstone/team.rb
Instance Attribute Summary (collapse)
-
- (Object) inviteDate
Returns the value of attribute inviteDate.
-
- (Object) joinDate
Returns the value of attribute joinDate.
-
- (Object) playerId
Returns the value of attribute playerId.
-
- (Object) status
Returns the value of attribute status.
Instance Method Summary (collapse)
-
- (Member) initialize(data)
constructor
A new instance of Member.
Constructor Details
- (Member) initialize(data)
Returns a new instance of Member
42 43 44 45 46 47 |
# File 'lib/sightstone/team.rb', line 42 def initialize(data) @joinDate = data['joinDate'] @inviteDate = data['inviteDate'] @status = data['status'] @playerId = data['playerId'] end |
Instance Attribute Details
- (Object) inviteDate
Returns the value of attribute inviteDate
41 42 43 |
# File 'lib/sightstone/team.rb', line 41 def inviteDate @inviteDate end |
- (Object) joinDate
Returns the value of attribute joinDate
41 42 43 |
# File 'lib/sightstone/team.rb', line 41 def joinDate @joinDate end |
- (Object) playerId
Returns the value of attribute playerId
41 42 43 |
# File 'lib/sightstone/team.rb', line 41 def playerId @playerId end |
- (Object) status
Returns the value of attribute status
41 42 43 |
# File 'lib/sightstone/team.rb', line 41 def status @status end |