Class: LMSGraphQL::Mutations::Canvas::CreateErrorReport
- Inherits:
-
BaseMutation
- Object
- GraphQL::Schema::Mutation
- BaseMutation
- LMSGraphQL::Mutations::Canvas::CreateErrorReport
- Defined in:
- lib/lms_graphql/mutations/canvas/create_error_report.rb
Instance Method Summary collapse
Instance Method Details
#resolve(error_subject:, error_url: nil, error_email: nil, error_comments: nil, error_http_env: nil) ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/lms_graphql/mutations/canvas/create_error_report.rb', line 16 def resolve(error_subject:, error_url: nil, error_email: nil, error_comments: nil, error_http_env: nil) context[:canvas_api].call("CREATE_ERROR_REPORT").proxy( "CREATE_ERROR_REPORT", {}, { "error[subject]": error_subject, "error[url]": error_url, "error[email]": error_email, "error[comments]": error_comments, "error[http_env]": error_http_env }, ).parsed_response end |