implemented stats
This commit is contained in:
@@ -4,10 +4,11 @@ require 'sightstone/modules/champion_module'
|
||||
require 'sightstone/modules/summoner_module'
|
||||
require 'sightstone/modules/game_module'
|
||||
require 'sightstone/modules/league_module'
|
||||
require 'sightstone/modules/stats_module'
|
||||
|
||||
class Sightstone
|
||||
attr_accessor :region, :api_key
|
||||
attr_accessor :summoner, :champion, :game, :league
|
||||
attr_accessor :summoner, :champion, :game, :league, :stats
|
||||
|
||||
def initialize(api_key, region)
|
||||
@api_key = api_key
|
||||
@@ -17,6 +18,7 @@ class Sightstone
|
||||
@champion = ChampionModule.new(self)
|
||||
@game = GameModule.new(self)
|
||||
@league = LeagueModule.new(self)
|
||||
@stats = StatsModule.new(self)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user