class LolApi::Team

Attributes

raw_team[R]

Public Class Methods

new(raw_team) click to toggle source
# File lib/lol_api/types/dtos/team.rb, line 5
def initialize(raw_team)
        @raw_team = raw_team
end

Public Instance Methods

bans() click to toggle source
# File lib/lol_api/types/dtos/team.rb, line 8
def bans
     raw_team['bans']
end
baron_kills() click to toggle source
# File lib/lol_api/types/dtos/team.rb, line 12
def baron_kills
     raw_team['baronKills']
end
dragon_kills() click to toggle source
# File lib/lol_api/types/dtos/team.rb, line 16
def dragon_kills
     raw_team['dragonKills']
end
first_baron() click to toggle source
# File lib/lol_api/types/dtos/team.rb, line 20
def first_baron
     raw_team['firstBaron']
end
first_blood() click to toggle source
# File lib/lol_api/types/dtos/team.rb, line 24
def first_blood
     raw_team['firstBlood']
end
first_inhibitor() click to toggle source
# File lib/lol_api/types/dtos/team.rb, line 28
def first_inhibitor
     raw_team['firstInhibitor']
end
first_tower() click to toggle source
# File lib/lol_api/types/dtos/team.rb, line 32
def first_tower
     raw_team['firstTower']
end
inhibitor_kills() click to toggle source
# File lib/lol_api/types/dtos/team.rb, line 36
def inhibitor_kills
     raw_team['inhibitorKills']
end
team_id() click to toggle source
# File lib/lol_api/types/dtos/team.rb, line 40
def team_id
     raw_team['teamId']
end
tower_kills() click to toggle source
# File lib/lol_api/types/dtos/team.rb, line 44
def tower_kills
     raw_team['towerKills']
end
vilemaw_kills() click to toggle source
# File lib/lol_api/types/dtos/team.rb, line 48
def vilemaw_kills
     raw_team['vilemawKills']
end
winner() click to toggle source
# File lib/lol_api/types/dtos/team.rb, line 52
def winner
     raw_team['winner']
end