// NewActivity returns a new 'activities/{id}' REST handler that retrieves a single activity by ID.
NewActivity returns a new 'activities/{id}' REST handler that retrieves a single activity by ID.
// NewActivity returns a new ' activities / { id } ' REST handler that retrieves a single activity by ID .
func NewActivity(cfg *Config, activityStore spi.Store, verifier signatureVerifier,
	sortOrder spi.SortOrder, tm authTokenManager) *Activity {
	h := &Activity{}
	h.handler = newHandler(ActivitiesPath, cfg, activityStore, h.handle, verifier, sortOrder, tm)
	return h
}
func NewActivity ( cfg * Config , activityStore spi . Store , verifier signatureVerifier , sortOrder spi . SortOrder , tm authTokenManager ) * Activity { h := & Activity { } h . handler = newHandler ( ActivitiesPath , cfg , activityStore , h . handle , verifier , sortOrder , tm ) return h }
NewActivity returns a new 'activities/{id}' REST handler that retrieves a single activity by ID.
NewActivity returns a new ' activities / { id } ' REST handler that retrieves a single activity by ID .