Sha256: ddb04922dbe5bfb178f2c82ad885490b43e905a5163ee6b7458bf0cdf9c6980f
Contents?: true
Size: 246 Bytes
Versions: 2
Compression:
Stored size: 246 Bytes
Contents
module Lol class ChampionRequest < Request # Retrieve all champions, v1.1 # @return [Array] an array of champions def get perform_request(api_url("v1.1", "champion"))["champions"].map {|c| Champion.new(c)} end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-lol-0.9.1 | lib/lol/champion_request.rb |
ruby-lol-0.0.7 | lib/lol/champion_request.rb |