Skip to content

Commit

Permalink
Update contact_groups to list_groups (#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrashed-dev authored Jan 30, 2024
1 parent a42a3eb commit f3fb868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nylas/resources/contacts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def destroy(identifier:, contact_id:)
# @param identifier [String] Grant ID or email account to query.
# @param query_params [Hash, nil] Query params to pass to the request.
# @return [Array(Array(Hash), String)] The list of contact groups and API Request ID.
def contact_groups(identifier:, query_params: nil)
def list_groups(identifier:, query_params: nil)
get(
path: "#{api_uri}/v3/grants/#{identifier}/contacts/groups",
query_params: query_params
Expand Down

0 comments on commit f3fb868

Please sign in to comment.