Class: LMSGraphQL::Mutations::Canvas::HideStreamItem
- Inherits:
-
BaseMutation
- Object
- GraphQL::Schema::Mutation
- BaseMutation
- LMSGraphQL::Mutations::Canvas::HideStreamItem
- Defined in:
- lib/lms_graphql/mutations/canvas/hide_stream_item.rb
Instance Method Summary collapse
Instance Method Details
#resolve(id:) ⇒ Object
12 13 14 15 16 17 18 19 20 |
# File 'lib/lms_graphql/mutations/canvas/hide_stream_item.rb', line 12 def resolve(id:) context[:canvas_api].call("HIDE_STREAM_ITEM").proxy( "HIDE_STREAM_ITEM", { "id": id }, {}, ).parsed_response end |