datadragon: ssl included

This commit is contained in:
danijoo
2013-12-30 15:35:28 +01:00
parent 78c2c63619
commit bdddd98a20

View File

@@ -8,7 +8,7 @@ class DatadragonModule < SightstoneBaseModule
def version(optional={}) def version(optional={})
region = optional[:region] || @sightstone.region region = optional[:region] || @sightstone.region
uri = "http://ddragon.leagueoflegends.com/realms/#{region}.json" uri = "https://ddragon.leagueoflegends.com/realms/#{region}.json"
response = _get_api_response(uri) response = _get_api_response(uri)
_parse_response(response) { |resp| _parse_response(response) { |resp|