Skip to content

Commit

Permalink
Merge pull request #33 from nicolaracco/master
Browse files Browse the repository at this point in the history
match request
  • Loading branch information
intinig committed Oct 13, 2014
2 parents 7445c33 + 8008e80 commit 848acd5
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/lol/match_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,11 @@ def self.api_version
"v2.2"
end

# Returns a match with the given id
# @param match_id [Fixnum] Match ID
# @return [Hash] match object
def get match_id
perform_request(api_url("match/#{match_id}"))
end
end
end

0 comments on commit 848acd5

Please sign in to comment.