Class: LMSGraphQL::Mutations::Canvas::HideStreamItem

Inherits:
CanvasBaseMutation
  • Object
show all
Defined in:
lib/lms_graphql/mutations/canvas/hide_stream_item.rb

Instance Method Summary collapse

Instance Method Details

#resolve(id:) ⇒ Object



9
10
11
12
13
14
15
16
# File 'lib/lms_graphql/mutations/canvas/hide_stream_item.rb', line 9

def resolve(id:)
  ctx[:canvas_api].proxy(
    "HIDE_STREAM_ITEM",
    {
      "id": id            },
    nil,
  ).parsed_response
end