◆ constructor()
GeoLocationPipelineBuilder::constructor | ( | { shareUsage=true, resourceKey=null, locationProvider='fiftyonedegrees', baseURL=null, cloudRequestOrigin=null } | ) |
inline
Extension of pipelineBuilder class that allows for the quick generation of a geo-location pipeline.
Adds share usage, caching with simple paramater changes
- Parameters
-
- {Object} - options
- {Boolean} - options.shareUsage // include share usage element?
- {String} - options.resourceKey // resourceKey for cloud
- {String} - options.locationProvider // the provider to request data from. Either "fiftyonedegrees" or "digitalelement".
- {string} - options.cloudRequestOrigin The value to set the Origin header to when making requests to the cloud service
- {string} - options.baseURL base URL for cloud request