Class: LMSGraphQL::Mutations::Canvas::ExportContentGroup

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

Instance Method Summary collapse

Instance Method Details

#resolve(group_id:, export_type:, skip_notifications: nil, select: nil) ⇒ Object



15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/lms_graphql/mutations/canvas/export_content_groups.rb', line 15

def resolve(group_id:, export_type:, skip_notifications: nil, select: nil)
  context[:canvas_api].call("EXPORT_CONTENT_GROUPS").proxy(
    "EXPORT_CONTENT_GROUPS",
    {
      "group_id": group_id
    },
    {
      "export_type": export_type,
      "skip_notifications": skip_notifications,
      "select": select
    },
  ).parsed_response
end