Class: AuthenticationNewsessResponse
- Inherits:
-
AuthenticationResponse
- Object
- Response
- AuthenticationResponse
- AuthenticationNewsessResponse
- Defined in:
- lib/refworks/authentication/newsess/authentication_newsess_response.rb
Instance Attribute Summary collapse
-
#sess ⇒ Object
readonly
Returns the value of attribute sess.
Attributes inherited from Response
#body, #parsed_response, #process_time, #result_code, #result_msg, #result_msg_code
Instance Method Summary collapse
-
#initialize(raw_response) ⇒ AuthenticationNewsessResponse
constructor
A new instance of AuthenticationNewsessResponse.
Constructor Details
#initialize(raw_response) ⇒ AuthenticationNewsessResponse
Returns a new instance of AuthenticationNewsessResponse.
5 6 7 8 |
# File 'lib/refworks/authentication/newsess/authentication_newsess_response.rb', line 5 def initialize(raw_response) super(raw_response) @sess = self.parsed_response["refworks"]["RWResult"]["CallInfo"]["sess"] end |
Instance Attribute Details
#sess ⇒ Object (readonly)
Returns the value of attribute sess.
3 4 5 |
# File 'lib/refworks/authentication/newsess/authentication_newsess_response.rb', line 3 def sess @sess end |