lib/wialon_api/client.rb in wialon_api-0.0.7 vs lib/wialon_api/client.rb in wialon_api-0.0.8
- old
+ new
@@ -1,12 +1,13 @@
module WialonApi
class Client
include WialonApi::Resolver
- attr_reader :sid
+ attr_reader :sid, :info
- def initialize(sid = nil)
+ def initialize(sid = nil, info = {})
@sid = sid
+ @info = info
end
def authorized?
!@sid.nil?
end