Bernhard Graf > WebService-XING-0.030 > WebService::XING::Function

Download:
WebService-XING-0.030.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

WebService::XING::Function - XING API Function Class

DESCRIPTION ^

An object of the WebService::XING::Function class represents an abstract description of a XING API function. It is usually created and returned by "function" in WebService::XING.

OVERLOADING ^

A WebService::XING::Function object returns the function "name" in string context.

ATTRIBUTES ^

name

Function name. Required.

method

HTTP method. Required.

resource

The REST resource. Required.

params_in

Array reference of the parameters list. Required. Use for object creation only.

params

Read-only attribute, that contains a reference to an array of WebService::XING::Function::Parameter objects, of which each describes a parameter.

code

Read-only attribute, that contians a code reference. This code is actually a closure method of the WebService::XING class, with a reference to this WebService::XING::Function object in order to validate the method arguments and to build the API request.

SEE ALSO ^

WebService::XING, WebService::XING::Function::Parameter

syntax highlighting: