NAME

Net::OAuth::LP::Models - Base class for models

DESCRIPTION

Base Model Role

ATTRIBUTES

c

Client attribute to perform authenticated requests.

METHODS

find

Override in extended models.

Override in extended models.

Performs a search request against the target distribution.

    $lp->search('ubuntu', { 'ws.op' => 'searchTasks',
                            'ws.size' => '10',
                            'status' => 'New' });

resource

Access resource endpoints directly, however, once API is feature complete this method shouldn't need to be referenced.

    $lp->resource('launchpad_resource_link');