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