Sha256: 4cedb507180bd326b56595b1aa773d37bf3557759c53ad50996327d2a81fefff

Contents?: true

Size: 192 Bytes

Versions: 5

Compression:

Stored size: 192 Bytes

Contents

module WargamingApi::Util::Params
  def prepare_params(params = {})
    {
      application_id: WargamingApi.application_id,
      language: WargamingApi.language
    }.merge(params)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wargaming_api_ruby-0.1.7 lib/wargaming_api/util/params.rb
wargaming_api_ruby-0.1.5 lib/wargaming_api/util/params.rb
wargaming_api_ruby-0.1.4 lib/wargaming_api/util/params.rb
wargaming_api_ruby-0.1.3 lib/wargaming_api/util/params.rb
wargaming_api_ruby-0.1.2 lib/wargaming_api/util/params.rb