NAME

WebService::Pingboard

DESCRIPTION

Interaction with Pingboard

This module uses MooseX::Log::Log4perl for logging - be sure to initialize!

ATTRIBUTES

cache

Optional.

Provided by MooseX::WithX - optionally pass a Cache::FileCache object to cache and avoid unnecessary requests

access_token

Required.

password
username
timeout

Timeout when communicating with Pingboard in seconds. Optional. Default: 10 Will only be in effect if you allow the useragent to be built in this module.

default_backoff

Optional. Default: 10 Time in seconds to back off before retrying request. If a 429 response is given and the Retry-Time header is provided by the api this will be overridden.

default_page_size

Optional. Default: 100

retry_on_status Optional. Default: [ 429, 500, 502, 503, 504 ] Which http response codes should we retry on?
max_tries Optional. Default: undef Limit maximum number of times a query should be attempted before failing. If undefined then unlimited retries
api_url

Required.

user_agent

Optional. A new LWP::UserAgent will be created for you if you don't already have one you'd like to reuse.

METHODS

init

Create the user agent. As these are built lazily, initialising manually can avoid errors thrown when building them later being silently swallowed in try/catch blocks.

get_users
id

The user id to get

get_groups
id (optional)

The group id to get

get_custom_fields
id (optional)

The resource id to get

get_linked_accounts
id

The resource id to get

get_linked_account_providers
id (optional)

The resource id to get

get_statuses
id (optional)

The resource id to get

clear_cache_object_id

Clears an object from the cache.

user_id

Required. Object id to clear from the cache.

Returns whether cache_del was successful or not

COPYRIGHT

Copyright 2015, Robin Clarke

AUTHOR

Robin Clarke <robin@robinclarke.net>

Jeremy Falling <projects@falling.se>

1 POD Error

The following errors were encountered while parsing the POD:

Around line 513:

You forgot a '=back' before '=head1'

You forgot a '=back' before '=head1'

You forgot a '=back' before '=head1'

You forgot a '=back' before '=head1'

You forgot a '=back' before '=head1'

You forgot a '=back' before '=head1'