Class: Artery::Backends::Fake

Inherits:
Base
  • Object
show all
Defined in:
lib/artery/backends/fake.rb

Instance Attribute Summary

Attributes inherited from Base

#config

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Artery::Backends::Base

Instance Method Details

#connect(*_args) ⇒ Object



9
# File 'lib/artery/backends/fake.rb', line 9

def connect(*_args); end

#publish(*_args) ⇒ Object



15
# File 'lib/artery/backends/fake.rb', line 15

def publish(*_args); end

#request(_route, _data, _opts = {}) ⇒ Object



17
18
19
# File 'lib/artery/backends/fake.rb', line 17

def request(_route, _data, _opts = {})
  yield if block_given?
end

#start(*_args) ⇒ Object



7
# File 'lib/artery/backends/fake.rb', line 7

def start(*_args); end

#stop(*_args) ⇒ Object



21
# File 'lib/artery/backends/fake.rb', line 21

def stop(*_args); end

#subscribe(*_args) ⇒ Object



11
# File 'lib/artery/backends/fake.rb', line 11

def subscribe(*_args); end

#unsubscribe(*_args) ⇒ Object



13
# File 'lib/artery/backends/fake.rb', line 13

def unsubscribe(*_args); end