fixed SightstoneApiException call
This commit is contained in:
@@ -29,9 +29,9 @@ class SightstoneBaseModule
|
||||
elsif response_code == 429
|
||||
raise RateLimitExceededException
|
||||
elsif response_code == 401
|
||||
raise InvalidApiKeyException
|
||||
raise InvalidApiKeyException
|
||||
else
|
||||
raise SightstoneApiException 'Unknown error occured'
|
||||
raise SightstoneApiException
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Gem::Specification.new do |s|
|
||||
s.name = 'sightstone'
|
||||
s.version = '1.3.1'
|
||||
s.date = '2014-01-13'
|
||||
s.version = '1.3.2'
|
||||
s.date = '2014-01-16'
|
||||
s.summary = 'Ruby wrapper for riots league of legends api'
|
||||
s.description = s.summary
|
||||
s.authors = ["Daniel Bauer"]
|
||||
|
||||
Reference in New Issue
Block a user