Class: Zimbra::AuthService::Parser

Inherits:
Object
  • Object
show all
Defined in:
lib/zimbra/auth.rb

Class Method Summary collapse

Class Method Details

.auth_token(response) ⇒ Object



37
38
39
# File 'lib/zimbra/auth.rb', line 37

def auth_token(response)
  (response/'//n2:authToken').to_s
end

.session_lifetime(response) ⇒ Object



40
41
42
# File 'lib/zimbra/auth.rb', line 40

def session_lifetime(response)
  (response/'//n2:lifetime').to_s
end