Class: LMSGraphQL::Mutations::Canvas::EnableDisableOrClearExplicitCspSettingAccount

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

Instance Method Summary collapse

Instance Method Details

#resolve(account_id:, status:) ⇒ Object



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

def resolve(account_id:, status:)
  context[:canvas_api].call("ENABLE_DISABLE_OR_CLEAR_EXPLICIT_CSP_SETTING_ACCOUNTS").proxy(
    "ENABLE_DISABLE_OR_CLEAR_EXPLICIT_CSP_SETTING_ACCOUNTS",
    {
      "account_id": 
    },
    {
      "status": status
    },
  ).parsed_response
end