class LMSGraphQL::Resolvers::Canvas::ListEntryRepliesGroup

Public Instance Methods

resolve(group_id:, topic_id:, entry_id:, get_all: false) click to toggle source
# File lib/lms_graphql/resolvers/canvas/list_entry_replies_groups.rb, line 11
def resolve(group_id:, topic_id:, entry_id:, get_all: false)
  result = context[:canvas_api].call("LIST_ENTRY_REPLIES_GROUPS").proxy(
    "LIST_ENTRY_REPLIES_GROUPS",
    {
      "group_id": group_id,
      "topic_id": topic_id,
      "entry_id": entry_id            },
    nil,
    get_all,
  )
  get_all ? result : result.parsed_response
end