Exception: SisRuby::Client::AuthenticationError

Inherits:
Exception
  • Object
show all
Defined in:
lib/sis_ruby/client.rb

Instance Method Summary collapse

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_sObject



79
80
81
# File 'lib/sis_ruby/client.rb', line 79

def to_s
  @response.options[:response_headers].split("\r\n").first
end