Skip to content

Commit

Permalink
Can read session id
Browse files Browse the repository at this point in the history
  • Loading branch information
meineerde committed Apr 4, 2011
1 parent 7ff27af commit 2cc8c04
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xenapi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ def initialize(uri, proxy_host=nil, proxy_port=nil)
end

attr_reader :uri, :api_version
def session_id
@session
end

LOGIN_METHODS = %w(login_with_password slave_local_login_with_password)
LOGIN_METHODS.each do |method|
Expand Down

0 comments on commit 2cc8c04

Please sign in to comment.