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