Class: ResourceCollection

.Service. ResourceCollection


new ResourceCollection()

Collection class to handle REST

Source:

Members


<static> name

Collection name for us in a datasource or an identifier

Properties:
Name Type Description
name string

The name of the collection

Source:

<static> url

Properties:
Name Type Description
url string

The url for the datasource (if applicable)

Source:

Methods


<static> setURL Set the url for the ResourceCollection(url)

Parameters:
Name Type Description
url string | function

The URL or a function to retun a URL object

Source: