NAME
Usergrid::Core - Common functionality
DESCRIPTION
Usergrid::Core is the base class for Usergrid::Client and contains common functionality and attributes.
ATTRIBUTES
- organization
-
Organization name (Read/Write, String, Required).
- application
-
Application name (Read/Write, String, Required).
- api_url
-
The URL for the API server (Read/Write, String, Required).
- trace
-
Enable/disable request and response tracing for debugging and troubleshooting (Read/Write, Boolean, Optional).
- user_token
-
The logged in user context (Read/Write).
METHODS
- trace_message ($message)
-
Utility method to log a message to console if tracing is enabled.
- prettify ($message)
-
Returns a prettified string representation for a JSON encoded object.
- json_encode ($hashref)
-
Returns a JSON object from a hash reference.
- json_decode ($json_object)
-
Returns a hash reference from a JSON object.
SEE ALSO
Usergrid::Client, Usergrid::Collection, Usergrid::Entity, Usergrid::Request
LICENSE
This software is distributed under the Apache 2 license.
AUTHOR
Anuradha Weeraman <anuradha@cpan.org>
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 85:
You forgot a '=back' before '=head1'
- Around line 87:
'=item' outside of any '=over'