diff --git a/resource_group.go b/resource_group.go index b8cff51440..6d25ffb5e8 100644 --- a/resource_group.go +++ b/resource_group.go @@ -19,19 +19,19 @@ type ScopeObject struct { } // NewResourceGroupForZone takes an existing zone and provides a resource group -// to be used within a Policy that allows access to that zone +// to be used within a Policy that allows access to that zone. func NewResourceGroupForZone(zone Zone) ResourceGroup { return NewResourceGroup(fmt.Sprintf("com.cloudflare.api.account.zone.%s", zone.ID)) } // NewResourceGroupForAccount takes an existing zone and provides a resource group -// to be used within a Policy that allows access to that account +// to be used within a Policy that allows access to that account. func NewResourceGroupForAccount(account Account) ResourceGroup { return NewResourceGroup(fmt.Sprintf("com.cloudflare.api.account.%s", account.ID)) } // NewResourceGroup takes a Cloudflare-formatted key (e.g. 'com.cloudflare.api.%s') and -// returns a resource group to be used within a Policy to allow access to that resource +// returns a resource group to be used within a Policy to allow access to that resource. func NewResourceGroup(key string) ResourceGroup { scope := Scope{ Key: key,