Exception: Nexpose::AuthenticationFailed

Inherits:
APIError
  • Object
show all
Defined in:
lib/nexpose.rb

Instance Attribute Summary

Attributes inherited from APIError

#reason, #req

Instance Method Summary collapse

Methods inherited from APIError

#to_s

Constructor Details

#initialize(req) ⇒ AuthenticationFailed

Returns a new instance of AuthenticationFailed.



82
83
84
85
# File 'lib/nexpose.rb', line 82

def initialize(req)
	self.req = req
	self.reason = "Login Failed"
end