Class: LMSGraphQL::Mutations::Canvas::MarkAllEntriesAsReadGroup
- Inherits:
-
BaseMutation
- Object
- GraphQL::Schema::Mutation
- BaseMutation
- LMSGraphQL::Mutations::Canvas::MarkAllEntriesAsReadGroup
- Defined in:
- lib/lms_graphql/mutations/canvas/mark_all_entries_as_read_groups.rb
Instance Method Summary collapse
Instance Method Details
#resolve(group_id:, topic_id:, forced_read_state: nil) ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/lms_graphql/mutations/canvas/mark_all_entries_as_read_groups.rb', line 14 def resolve(group_id:, topic_id:, forced_read_state: nil) context[:canvas_api].call("MARK_ALL_ENTRIES_AS_READ_GROUPS").proxy( "MARK_ALL_ENTRIES_AS_READ_GROUPS", { "group_id": group_id, "topic_id": topic_id }, { "forced_read_state": forced_read_state }, ).parsed_response end |