Class: AuthenticationNewtempusersessResponse
- Inherits:
-
AuthenticationResponse
- Object
- Response
- AuthenticationResponse
- AuthenticationNewtempusersessResponse
- Defined in:
- lib/refworks/authentication/newtempusersess/authentication_newtempusersess_response.rb
Instance Attribute Summary collapse
-
#tempsess ⇒ Object
readonly
Returns the value of attribute tempsess.
Attributes inherited from Response
#body, #parsed_response, #process_time, #result_code, #result_msg, #result_msg_code
Instance Method Summary collapse
-
#initialize(raw_response) ⇒ AuthenticationNewtempusersessResponse
constructor
A new instance of AuthenticationNewtempusersessResponse.
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
#tempsess ⇒ Object (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 |