Sha256: 699f85f35ab1f898ec10693b4f77a621676409ad5ef4fb8a78ff91d14168fae1
Contents?: true
Size: 585 Bytes
Versions: 1
Compression:
Stored size: 585 Bytes
Contents
module Taric module Operation module LolStatus SHARDS = Addressable::Template.new 'http://status.leagueoflegends.com/shards' SHARD = Addressable::Template.new 'http://status.leagueoflegends.com/shards/{region}' # Region metadata. # # @return [Array] of region metadata in hashes def shards response_for SHARDS end # Region metadata by region. # @param region [String] region to load # @return [Hash] region info def shard(region:) response_for SHARD, {region: region} end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
taric-0.4.0 | lib/taric/operation/lol_status.rb |