NAME
Net::FreeIPA::Response is an response class for Net::FreeIPA.
Boolean logic is overloaded using _boolean
method (as inverse of is_error
).
Public methods
- mkresponse
-
A
Net::FreeIPA::Response
factory - new
-
Create new response instance.
Options
- set_error
-
Set and return the error attribute using
mkerror
. - set_result
-
Set and return the result attribute based on the
result_path
.The
result_path
is path-like string, indicating which subtree of the answer should be set as result attribute (defaultresult/result
). - is_error
-
Test if this is an error or not (based on error attribute).