Class: Member

Inherits:
Object
  • Object
show all
Defined in:
lib/sightstone/team.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

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