Sha256: 6a402a41cf9e8ab0192f1c7c74d0913d1050d582c9587071a4d41c25c3cf601b
Contents?: true
Size: 233 Bytes
Versions: 7
Compression:
Stored size: 233 Bytes
Contents
module WargamingApi::Util::Uri def api_uri(params) host = 'http://api.worldoftanks.ru/' path = self.class.to_s.underscore.gsub('wargaming_api/', '').gsub('_', '') URI([host, path, '/?', params.to_param].join) end end
Version data entries
7 entries across 7 versions & 1 rubygems