Class: LMS::GraphQL::Mutations::Canvas::SetFeatureFlagAccount

Inherits:
CanvasBaseMutation
  • Object
show all
Defined in:
lib/lms/graphql/mutations/canvas/set_feature_flag_accounts.rb

Instance Method Summary collapse

Instance Method Details

#resolve(account_id:, feature:, state: nil) ⇒ Object



12
13
14
15
16
17
18
19
20
21
# File 'lib/lms/graphql/mutations/canvas/set_feature_flag_accounts.rb', line 12

def resolve(account_id:, feature:, state: nil)
  ctx[:canvas_api].proxy(
    "SET_FEATURE_FLAG_ACCOUNTS",
    {
      "account_id": ,
      "feature": feature,
      "state": state              },
    nil,
  ).parsed_response
end