Usergrid::Request - Role that provides HTTP invocation and utility methods
This is a Role that is applied to Usergrid::Client and Usergrid::Collection which provides methods that relate to HTTP invocation as well as some utility functions.
Organization name
Application name
URL of the Usergrid instance
Enable/disable request and response tracing for debugging and troubleshooting (Optional)
Invokes HTTP DELETE on the specified resource.
Invokes HTTP GET on the specified resource.
Invokes HTTP POST on the specified resource and passes in the payload for the request.
Invokes HTTP PUT on the specified resource and passes in the payload for the request.
Utility method to log a message to console if tracing is enabled.
Returns a prettified string representation hash reference.
Returns a JSON object from a hash reference.
Returns a hash reference from a JSON object.
Usergrid::Client, Usergrid::Collection, Usergrid::Entity
This software is distributed under the Apache 2 license.
Anuradha Weeraman <anuradha@cpan.org>
To install Usergrid::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Usergrid::Client
CPAN shell
perl -MCPAN -e shell install Usergrid::Client
For more information on module installation, please visit the detailed CPAN module installation guide.