lib/ika3/schedule.rb in ika3-0.5.0 vs lib/ika3/schedule.rb in ika3-0.5.1

- old
+ new

@@ -46,9 +46,15 @@ def salmon_run_team_contest return @salmon_run_team_contest_obj unless @salmon_run_team_contest_obj.nil? @salmon_run_team_contest_obj = send_request(:get, '/api/coop-grouping-team-contest/schedule').body.results[0] end + + def event + return @event_match_obj unless @event_match_obj.nil? + + @event_match_obj = send_request(:get, '/api/event/schedule').body.results[0] + end end private def send_request(method, path)