class Ribbon::Intercom::Service::Channel::Stores::Store
Public Instance Methods
delete(channel)
click to toggle source
# File lib/ribbon/intercom/service/channel/stores/store.rb, line 28 def delete(channel) raise NotImplementedError end
healthy?()
click to toggle source
# File lib/ribbon/intercom/service/channel/stores/store.rb, line 9 def healthy? token_exists?('healthcheck') true rescue false end
lookup_channel(token)
click to toggle source
# File lib/ribbon/intercom/service/channel/stores/store.rb, line 20 def lookup_channel(token) raise NotImplementedError end
open_channel(params={})
click to toggle source
# File lib/ribbon/intercom/service/channel/stores/store.rb, line 5 def open_channel(params={}) Channel.new(self, params) end
persist(channel)
click to toggle source
# File lib/ribbon/intercom/service/channel/stores/store.rb, line 24 def persist(channel) raise NotImplementedError end
token_exists?(token)
click to toggle source
# File lib/ribbon/intercom/service/channel/stores/store.rb, line 16 def token_exists?(token) raise NotImplementedError end
with_lock(channel, &block)
click to toggle source
# File lib/ribbon/intercom/service/channel/stores/store.rb, line 32 def with_lock(channel, &block) raise NotImplementedError end