new ApiResourcesManager()
Represents the resources manager of an api
Do not call constructor directly
Bluenimble container creates it internally and makes it available for your services to use
Resources are folders or file you deploy within your api under the resources directory
Do not call constructor directly
Bluenimble container creates it internally and makes it available for your services to use
Resources are folders or file you deploy within your api under the resources directory
- Source:
Methods
get(path) → {ApiResource}
Get a resource - folder or file - for the given path
Parameters:
Name | Type | Description |
---|---|---|
path |
string | the path of the folder or file |
- Source:
Returns:
the resource for the given path
- Type
- ApiResource