Skip to content

Commit

Permalink
fixing spec error
Browse files Browse the repository at this point in the history
  • Loading branch information
intinig committed Apr 28, 2014
1 parent e357c74 commit 399d2af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lol/static_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def versions
end

def get(endpoint, id=nil, params={})
return perform_request(api_url("versions")).parsed_response if endpoint == "versions"
return perform_request(api_url("versions")).map {|x| x} if endpoint == "versions"
id ? find(endpoint, id, params) : all(endpoint, params)
end

Expand Down

0 comments on commit 399d2af

Please sign in to comment.