Exception: SisRuby::Client::AuthenticationError
- Inherits:
-
Exception
- Object
- Exception
- SisRuby::Client::AuthenticationError
- Defined in:
- lib/sis_ruby/client.rb
Instance Method Summary collapse
-
#initialize(response) ⇒ AuthenticationError
constructor
A new instance of AuthenticationError.
- #to_s ⇒ Object
Constructor Details
#initialize(response) ⇒ AuthenticationError
Returns a new instance of AuthenticationError.
75 76 77 |
# File 'lib/sis_ruby/client.rb', line 75 def initialize(response) @response = response end |
Instance Method Details
#to_s ⇒ Object
79 80 81 |
# File 'lib/sis_ruby/client.rb', line 79 def to_s @response.[:response_headers].split("\r\n").first end |