Class: AuthenticationNewtempusersessResponse

Inherits:
AuthenticationResponse show all
Defined in:
lib/refworks/authentication/newtempusersess/authentication_newtempusersess_response.rb

Instance Attribute Summary collapse

Attributes inherited from Response

#body, #parsed_response, #process_time, #result_code, #result_msg, #result_msg_code

Instance Method Summary collapse

Constructor Details

#initialize(raw_response) ⇒ AuthenticationNewtempusersessResponse

Returns a new instance of AuthenticationNewtempusersessResponse.



5
6
7
8
# File 'lib/refworks/authentication/newtempusersess/authentication_newtempusersess_response.rb', line 5

def initialize(raw_response)
  super(raw_response)
  @tempsess = self.parsed_response["refworks"]["RWResult"]["CallInfo"]["sess"]
end

Instance Attribute Details

#tempsessObject (readonly)

Returns the value of attribute tempsess.



3
4
5
# File 'lib/refworks/authentication/newtempusersess/authentication_newtempusersess_response.rb', line 3

def tempsess
  @tempsess
end