Class: LMSGraphQL::Mutations::Canvas::RateEntryCourse
- Inherits:
-
CanvasBaseMutation
- Object
- GraphQL::Schema::Mutation
- CanvasBaseMutation
- LMSGraphQL::Mutations::Canvas::RateEntryCourse
- Defined in:
- lib/lms_graphql/mutations/canvas/rate_entry_courses.rb
Instance Method Summary collapse
Instance Method Details
#resolve(course_id:, topic_id:, entry_id:, rating: nil) ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/lms_graphql/mutations/canvas/rate_entry_courses.rb', line 12 def resolve(course_id:, topic_id:, entry_id:, rating: nil) ctx[:canvas_api].proxy( "RATE_ENTRY_COURSES", { "course_id": course_id, "topic_id": topic_id, "entry_id": entry_id, "rating": }, nil, ).parsed_response end |