Sha256: 2a832f406a11da50df63ec5b97886fb049f7557b7f0c1a79e667d3b03fa39bfe

Contents?: true

Size: 383 Bytes

Versions: 12

Compression:

Stored size: 383 Bytes

Contents

module Lol
  class MatchRequest < Request
    # Returns the supported API Version
    # @return [String] the supported api version
    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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ruby-lol-0.12.2 lib/lol/match_request.rb
ruby-lol-0.12.1 lib/lol/match_request.rb
ruby-lol-0.12.0 lib/lol/match_request.rb
ruby-lol-0.11.6 lib/lol/match_request.rb
ruby-lol-0.11.5 lib/lol/match_request.rb
ruby-lol-0.11.4 lib/lol/match_request.rb
ruby-lol-0.11.3 lib/lol/match_request.rb
ruby-lol-0.11.2 lib/lol/match_request.rb
ruby-lol-0.11.1 lib/lol/match_request.rb
ruby-lol-0.11.0 lib/lol/match_request.rb
ruby-lol-0.10.0 lib/lol/match_request.rb
ruby-lol-0.9.19.1 lib/lol/match_request.rb