Class: LMS::GraphQL::Resolvers::Canvas::ListGroupsAvailableInContextAccount

Inherits:
CanvasBaseResolver
  • Object
show all
Defined in:
lib/lms/graphql/resolvers/canvas/list_groups_available_in_context_accounts.rb

Instance Method Summary collapse

Instance Method Details

#resolve(account_id:, only_own_groups: nil, include: nil) ⇒ Object



12
13
14
15
16
17
18
19
20
21
# File 'lib/lms/graphql/resolvers/canvas/list_groups_available_in_context_accounts.rb', line 12

def resolve(account_id:, only_own_groups: nil, include: nil)
  context[:canvas_api].proxy(
    "LIST_GROUPS_AVAILABLE_IN_CONTEXT_ACCOUNTS",
    {
      "account_id": ,
      "only_own_groups": only_own_groups,
      "include": include              },
    nil,
  ).parsed_response
end