added version call ddragon

This commit is contained in:
danijoo
2013-12-18 10:45:37 +01:00
parent d08682d917
commit f7debbbcf0

View File

@@ -6,7 +6,7 @@ require 'sightstone/modules/game_module'
require 'sightstone/modules/league_module'
require 'sightstone/modules/stats_module'
require 'sightstone/modules/team_module'
#require 'sightstone/modules/datadragon_module'
require 'sightstone/modules/datadragon_module'
# This is the main class of the Sightstone gem. All calls should be perfomrmed through this class.
# @attr [String] region The default region
@@ -21,7 +21,7 @@ class Sightstone
attr_accessor :region
attr_accessor :api_key
attr_accessor :summoner, :champion, :game, :league, :stats, :team
attr_accessor :summoner, :champion, :game, :league, :stats, :team, :ddragon
# @param api_key [String] Riot developer api key
# @param region [String] The default region to be used. See riots dev. page for supported regions.
@@ -35,6 +35,7 @@ class Sightstone
@league = LeagueModule.new(self)
@stats = StatsModule.new(self)
@team = TeamModule.new(self)
@ddragon = DatadragonModule.new(self)
end
end