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.



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

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