(httpClient *http.Client, orgLogin string, databaseId string, host string)
| 15 | } |
| 16 | |
| 17 | func viewOrgRuleset(httpClient *http.Client, orgLogin string, databaseId string, host string) (*shared.RulesetREST, error) { |
| 18 | path := fmt.Sprintf("orgs/%s/rulesets/%s", orgLogin, databaseId) |
| 19 | return viewRuleset(httpClient, host, path) |
| 20 | } |
| 21 | |
| 22 | func viewRuleset(httpClient *http.Client, hostname string, path string) (*shared.RulesetREST, error) { |
| 23 | apiClient := api.NewClientFromHTTP(httpClient) |
no test coverage detected