lib/lol.rb in ruby-lol-0.0.6 vs lib/lol.rb in ruby-lol-0.0.7
- old
+ new
@@ -1,18 +1,27 @@
-require __dir__ + "/lol/client"
-require __dir__ + "/lol/champion"
-require __dir__ + "/lol/game"
-require __dir__ + "/lol/league"
-require __dir__ + "/lol/player"
-require __dir__ + "/lol/raw_statistic"
-require __dir__ + "/lol/player_statistic"
-require __dir__ + "/lol/aggregated_statistic"
-require __dir__ + "/lol/ranked_statistics_summary"
-require __dir__ + "/lol/champion_statistics_summary"
-require __dir__ + "/lol/champion_statistic"
-require __dir__ + "/lol/team"
-require __dir__ + "/lol/roster"
-require __dir__ + "/lol/team_member"
-require __dir__ + "/lol/team_statistic"
-require __dir__ + "/lol/match_summary"
-require __dir__ + "/lol/league_entry"
-require __dir__ + "/lol/mini_series"
+require "lol/client"
+
+require "lol/request"
+require "lol/champion_request"
+require "lol/game_request"
+require "lol/stats_request"
+require "lol/team_request"
+require "lol/league_request"
+
+require "lol/model"
+require "lol/champion"
+require "lol/game"
+require "lol/league"
+require "lol/player"
+require "lol/raw_statistic"
+require "lol/player_statistic"
+require "lol/aggregated_statistic"
+require "lol/ranked_statistics_summary"
+require "lol/champion_statistics_summary"
+require "lol/champion_statistic"
+require "lol/team"
+require "lol/roster"
+require "lol/team_member"
+require "lol/team_statistic"
+require "lol/match_summary"
+require "lol/league_entry"
+require "lol/mini_series"