Class: LMSGraphQL::Resolvers::Canvas::CourseAuditLogQueryByAccount
- Inherits:
-
CanvasBaseResolver
- Object
- GraphQL::Schema::Resolver
- CanvasBaseResolver
- LMSGraphQL::Resolvers::Canvas::CourseAuditLogQueryByAccount
- Defined in:
- lib/lms_graphql/resolvers/canvas/course_audit_log_query_by_account.rb
Instance Method Summary collapse
Instance Method Details
#resolve(account_id:, start_time: nil, end_time: nil, get_all: false) ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/lms_graphql/resolvers/canvas/course_audit_log_query_by_account.rb', line 12 def resolve(account_id:, start_time: nil, end_time: nil, get_all: false) result = context[:canvas_api].call("COURSE_AUDIT_LOG_QUERY_BY_ACCOUNT").proxy( "COURSE_AUDIT_LOG_QUERY_BY_ACCOUNT", { "account_id": account_id, "start_time": start_time, "end_time": end_time }, nil, get_all, ) get_all ? result : result.parsed_response end |