Sha256: e4838a08339b3a06a9e27a02613a959c426cbd92e7476899b38dc01b8b94975d

Contents?: true

Size: 306 Bytes

Versions: 11

Compression:

Stored size: 306 Bytes

Contents

module Lol
  class FeaturedGamesRequest < Request
    def self.api_version
      "v1.0"
    end

    def api_url path, params = {}
      "#{api_base_url}/observer-mode/rest/#{path}?#{api_query_string params}"
    end

    def get
      DynamicModel.new perform_request api_url "featured"
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

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