Sha256: bc58ed17419761f93eecb4a9850e334240a953b93cdd2b89c1106b6492bb9dbf
Contents?: true
Size: 267 Bytes
Versions: 2
Compression:
Stored size: 267 Bytes
Contents
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.ssid) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
wialon_api-0.0.4 | lib/wialon_api/authorization.rb |
wialon_api-0.0.3 | lib/wialon_api/authorization.rb |