Class: LMSGraphQL::Mutations::Canvas::ImportOutcomeGroupAccount

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

Instance Method Summary collapse

Instance Method Details

#resolve(account_id:, id:, source_outcome_group_id:, async: nil) ⇒ Object



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

def resolve(account_id:, id:, source_outcome_group_id:, async: nil)
  context[:canvas_api].call("IMPORT_OUTCOME_GROUP_ACCOUNTS").proxy(
    "IMPORT_OUTCOME_GROUP_ACCOUNTS",
    {
      "account_id": ,
      "id": id
    },
    {
      "source_outcome_group_id": source_outcome_group_id,
      "async": async
    },
  ).parsed_response
end