Method: Tbkapi#system_params

Defined in:
lib/tbkapi.rb

#system_params(method, api_key) ⇒ Object



11
12
13
14
15
16
17
18
19
20
# File 'lib/tbkapi.rb', line 11

def system_params(method, api_key)
  {
    method: method,
    api_key: api_key,
    timestamp: Time.now.strftime("%F %T"),
    format: "json",
    v: "2.0",
    sign_method: "md5"
  }
end