func (a *API) FetchAcknowledgements() (*[]Acknowledgement, error) {
	result, err := a.Get(config.AcknowledgementPrefix)
	if err != nil {
		return nil, err
	}

	var acknowledgements []Acknowledgement
	if err := json.Unmarshal(result, &acknowledgements); err != nil {
		return nil, err
	}

	return &acknowledgements, nil
}
func (a *API) FetchAcknowledgements() (*[]Acknowledgement, error) {
	result, err := a.Get(config.AcknowledgementPrefix)
	if err != nil {
		return nil, err
	}

	var acknowledgements []Acknowledgement
	if err := json.Unmarshal(result, &acknowledgements); err != nil {
		return nil, err
	}

	return &acknowledgements, nil
}
func ( a * API ) FetchAcknowledgements ( ) ( * [ ] Acknowledgement , error ) { result , err := a . Get ( config . AcknowledgementPrefix ) if err != nil { return nil , err } var acknowledgements [ ] Acknowledgement if err := json . Unmarshal ( result , & acknowledgements ) ; err != nil { return nil , err } return & acknowledgements , nil }
// FetchAcknowledgements retrieves all acknowledgements available to the API Token.
FetchAcknowledgements retrieves all acknowledgements available to the API Token .