lib/wialon_api/authorization.rb in wialon_api-0.0.2 vs lib/wialon_api/authorization.rb in wialon_api-0.0.3

- old
+ new

@@ -1,9 +1,9 @@ module WialonApi module Authorization def authorize(user, password) response = WialonApi::Api.call('core/login', user: user, password: password) result = WialonApi::Result.process(response) - WialonApi::Client.new(result.eid) + WialonApi::Client.new(result.ssid) end end end