Class: LMS::GraphQL::Mutations::Canvas::CreateGroupCategoryAccount

Inherits:
CanvasBaseMutation
  • Object
show all
Defined in:
lib/lms/graphql/mutations/canvas/create_group_category_accounts.rb

Instance Method Summary collapse

Instance Method Details

#resolve(account_id:, name:, self_signup: nil, auto_leader: nil, group_limit: nil, sis_group_category_id: nil, create_group_count: nil, split_group_count: nil) ⇒ Object



17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# File 'lib/lms/graphql/mutations/canvas/create_group_category_accounts.rb', line 17

def resolve(account_id:, name:, self_signup: nil, auto_leader: nil, group_limit: nil, sis_group_category_id: nil, create_group_count: nil, split_group_count: nil)
  ctx[:canvas_api].proxy(
    "CREATE_GROUP_CATEGORY_ACCOUNTS",
    {
      "account_id": ,
      "name": name,
      "self_signup": ,
      "auto_leader": auto_leader,
      "group_limit": group_limit,
      "sis_group_category_id": sis_group_category_id,
      "create_group_count": create_group_count,
      "split_group_count": split_group_count              },
    nil,
  ).parsed_response
end