Sha256: 6b8f939e8bcd7062e39c71dbf039331c895c153faffa0f47a2c5deeeb7c40bf1
Contents?: true
Size: 452 Bytes
Versions: 4
Compression:
Stored size: 452 Bytes
Contents
module Lol # List of featured games # # Each contained featured game is represented through {DynamicModel} class FeaturedGameList < Array # The suggested interval to wait before requesting FeaturedGames again # @return [Integer] attr_reader :client_refresh_interval def initialize data @client_refresh_interval = data['clientRefreshInterval'] super data['gameList'].map { |g| DynamicModel.new g } end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ruby-lol-1.2.0 | lib/lol/featured_game_list.rb |
ruby-lol-1.1.2 | lib/lol/featured_game_list.rb |
ruby-lol-1.1.1 | lib/lol/featured_game_list.rb |
ruby-lol-1.0.0 | lib/lol/featured_game_list.rb |