* Add initial invitation framework for chat channels * Update chat_channel specs * Add DIY concept of accepting invite * Add some js and fix spec * Add full invite accept functionality * Remove console.log from chat
12 lines
No EOL
225 B
Ruby
12 lines
No EOL
225 B
Ruby
class ChatChannelUpdateService
|
|
attr_accessor :chat_channel, :params
|
|
|
|
def initialize(chat_channel, params)
|
|
@chat_channel = chat_channel
|
|
@params = params
|
|
end
|
|
|
|
def update
|
|
chat_channel.update(params)
|
|
end
|
|
end |