Class: Chat::Service::UpdateChannelStatus

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
plugins/chat/app/services/update_channel_status.rb

Overview

Service responsible for updating a chat channel status.

Examples:

Chat::Service::UpdateChannelStatus.call(channel_id: 2, guardian: guardian, status: "open")

Instance Method Summary collapse

Methods included from Base

contract, model, policy, step, transaction

Instance Method Details

#call(channel_id: , guardian: , status: ) ⇒ Chat::Service::Base::Context

Parameters:

  • channel_id (Integer) (defaults to: )
  • guardian (Guardian) (defaults to: )
  • status (String) (defaults to: )

Returns: