module:oauth/Link

module:oauth/Link

Source:

Constructs a new Link.

Members

(inner) href :String

Source:
Type:
  • String

(inner) rel :String

Source:
Type:
  • String

Methods

(static) constructFromObject(data, obj) → {module:oauth/Link}

Source:

Constructs a Link from a plain JavaScript object, optionally creating a new instance.
Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj module:oauth/Link

Optional instance to populate.

Returns:

The populated Link instance.

Type
module:oauth/Link