Sha256: 5f8eab38a69b9821f8fd34109329a2b6e1bef2ce63bb64e7102078d4a993dbfe
Contents?: true
Size: 386 Bytes
Versions: 1
Compression:
Stored size: 386 Bytes
Contents
module Lolxin module Region REGIONS = { br: 'br', eune: 'eune', euw: 'euw', jp: 'jp', kr: 'kr', lan: 'lan', las: 'las', na: 'na', oce: 'oce', pbe: 'pbe', ru: 'ru', tr: 'tr' } def self.valid?(region) REGIONS[region] || REGIONS.values.find { |r| r == region } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lolxin-0.12.1 | lib/lolxin/region.rb |