Class: LMSGraphQL::Mutations::Canvas::LockOrUnlockCurrentCspSettingsForSubAccountsAndCourse
- Inherits:
-
BaseMutation
- Object
- GraphQL::Schema::Mutation
- BaseMutation
- LMSGraphQL::Mutations::Canvas::LockOrUnlockCurrentCspSettingsForSubAccountsAndCourse
- Defined in:
- lib/lms_graphql/mutations/canvas/lock_or_unlock_current_csp_settings_for_sub_accounts_and_courses.rb
Instance Method Summary collapse
Instance Method Details
#resolve(account_id:, settings_locked:) ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/lms_graphql/mutations/canvas/lock_or_unlock_current_csp_settings_for_sub_accounts_and_courses.rb', line 13 def resolve(account_id:, settings_locked:) context[:canvas_api].call("LOCK_OR_UNLOCK_CURRENT_CSP_SETTINGS_FOR_SUB_ACCOUNTS_AND_COURSES").proxy( "LOCK_OR_UNLOCK_CURRENT_CSP_SETTINGS_FOR_SUB_ACCOUNTS_AND_COURSES", { "account_id": account_id }, { "settings_locked": settings_locked }, ).parsed_response end |