trabajo-afectivo/app/models/channel/driver/null.rb

24 lines
319 B
Ruby
Raw Normal View History

2022-01-01 13:38:12 +00:00
# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
class Channel::Driver::Null
def fetchable?(_channel)
false
end
def fetch(...)
{
result: 'ok',
fetched: 0,
notice: '',
}
end
def disconnect
true
end
def self.streamable?
false
end
end