Class: LMSGraphQL::Mutations::Canvas::AssignUnassignedMember

Inherits:
BaseMutation
  • Object
show all
Defined in:
lib/lms_graphql/mutations/canvas/assign_unassigned_members.rb

Instance Method Summary collapse

Instance Method Details

#resolve(group_category_id:, sync: nil) ⇒ Object



13
14
15
16
17
18
19
20
21
22
23
# File 'lib/lms_graphql/mutations/canvas/assign_unassigned_members.rb', line 13

def resolve(group_category_id:, sync: nil)
  context[:canvas_api].call("ASSIGN_UNASSIGNED_MEMBERS").proxy(
    "ASSIGN_UNASSIGNED_MEMBERS",
    {
      "group_category_id": group_category_id
    },
    {
      "sync": sync
    },
  ).parsed_response
end