Method: Bitly::API::Client#group

Defined in:
lib/bitly/api/client.rb

#group(group_guid:) ⇒ Bitly::API::Group

Fetch a particular group. [‘GET /v4/groups/group_guid`](dev.bitly.com/api-reference/#getGroup)

Examples:

group = client.group(guid)

Parameters:

  • guid (String)

    The guid of the group you want.

Returns:



348
349
350
# File 'lib/bitly/api/client.rb', line 348

def group(group_guid:)
  Group.fetch(client: self, group_guid: group_guid)
end