class MasterLeague::Match

Public Instance Methods

map() click to toggle source
# File lib/master_league/match.rb, line 25
def map
  @map ||= MapRepository.new.find(map_id) if map_id
end
patch() click to toggle source
# File lib/master_league/match.rb, line 17
def patch
  @patch ||= PatchRepository.new.find(patch_id) if patch_id
end
tournament() click to toggle source
# File lib/master_league/match.rb, line 21
def tournament
  @tournament ||= TournamentRepository.new.find(tournament_id) if tournament_id
end