GetApplicationEnvironment fetches all the environment variables on an application by groups.
(appGUID string)
| 27 | // GetApplicationEnvironment fetches all the environment variables on |
| 28 | // an application by groups. |
| 29 | func (client *Client) GetApplicationEnvironment(appGUID string) (Environment, Warnings, error) { |
| 30 | var responseBody Environment |
| 31 | |
| 32 | _, warnings, err := client.MakeRequest(RequestParams{ |
| 33 | RequestName: internal.GetApplicationEnvRequest, |
| 34 | URIParams: internal.Params{"app_guid": appGUID}, |
| 35 | ResponseBody: &responseBody, |
| 36 | }) |
| 37 | |
| 38 | return responseBody, warnings, err |
| 39 | } |
nothing calls this directly
no test coverage detected