class LMSGraphQL::Mutations::Canvas::RemoveContentShare

Public Instance Methods

resolve(user_id:, id:) click to toggle source
# File lib/lms_graphql/mutations/canvas/remove_content_share.rb, line 13
def resolve(user_id:, id:)
  context[:canvas_api].call("REMOVE_CONTENT_SHARE").proxy(
    "REMOVE_CONTENT_SHARE",
    {
      "user_id": user_id,
      "id": id
    },
    {},
  ).parsed_response
end