Module: KewegoParty::Client::App

Included in:
KewegoParty::Client
Defined in:
lib/kewego_party/client/app.rb

Instance Method Summary collapse

Instance Method Details

#app_check_tokenObject



10
11
12
13
# File 'lib/kewego_party/client/app.rb', line 10

def app_check_token
  response = get("/app/checkToken/", {:appKey => token, :appToken => app_token})
  process_response(response, [:app_token])
end

#app_get_tokenObject



4
5
6
7
8
# File 'lib/kewego_party/client/app.rb', line 4

def app_get_token
  response = get("/app/getToken/", {:appKey => token})
  self.app_token = process_response(response, [:app_token])
  @app_token
end