class LMSGraphQL::Mutations::Canvas::CreateNewGradingStandardAccount
Public Instance Methods
resolve(account_id:, title:, grading_scheme_entry_name:, grading_scheme_entry_value:)
click to toggle source
# File lib/lms_graphql/mutations/canvas/create_new_grading_standard_accounts.rb, line 15 def resolve(account_id:, title:, grading_scheme_entry_name:, grading_scheme_entry_value:) context[:canvas_api].call("CREATE_NEW_GRADING_STANDARD_ACCOUNTS").proxy( "CREATE_NEW_GRADING_STANDARD_ACCOUNTS", { "account_id": account_id }, { "title": title, "grading_scheme_entry[name]": grading_scheme_entry_name, "grading_scheme_entry[value]": grading_scheme_entry_value }, ).parsed_response end