Sha256: babc7c0be87b0680b81b1237af17bf25b6fa44eb15badbd6b54b08c637201802
Contents?: true
Size: 373 Bytes
Versions: 10
Compression:
Stored size: 373 Bytes
Contents
module Lol class ChampionRequest < Request # Returns the supported API Version # @return [String] the supported api version def self.api_version "v1.1" end # Retrieve all champions, v1.1 # @return [Array] an array of champions def get perform_request(api_url("champion"))["champions"].map {|c| Champion.new(c)} end end end
Version data entries
10 entries across 10 versions & 1 rubygems