class LMSGraphQL::Resolvers::Canvas::GetFullTopicCourse
Public Instance Methods
resolve(course_id:, topic_id:, get_all: false)
click to toggle source
# File lib/lms_graphql/resolvers/canvas/get_full_topic_courses.rb, line 10 def resolve(course_id:, topic_id:, get_all: false) result = context[:canvas_api].call("GET_FULL_TOPIC_COURSES").proxy( "GET_FULL_TOPIC_COURSES", { "course_id": course_id, "topic_id": topic_id }, nil, get_all, ) get_all ? result : result.parsed_response end