Skip to content

Commit

Permalink
[Groups] Add Group::forGroupId() (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
onairmarc authored Nov 30, 2024
1 parent 2099bd9 commit 40d77f1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Objects/Groups/Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ public static function make(string $clientId, string $clientSecret): Group
return $group;
}

public function forGroupId(string $groupId): static
{
$this->attributes->groupId = $groupId;

return $this;
}

public function all(array $query = []): ClientResponse
{
$http = $this->client()
Expand Down

0 comments on commit 40d77f1

Please sign in to comment.