class LMSGraphQL::Mutations::Canvas::SetFeatureFlagAccount

Public Instance Methods

resolve(account_id:, feature:, state: nil) click to toggle source
# File lib/lms_graphql/mutations/canvas/set_feature_flag_accounts.rb, line 14
def resolve(account_id:, feature:, state: nil)
  context[:canvas_api].call("SET_FEATURE_FLAG_ACCOUNTS").proxy(
    "SET_FEATURE_FLAG_ACCOUNTS",
    {
      "account_id": account_id,
      "feature": feature
    },
    {
      "state": state
    },
  ).parsed_response
end