Class: Harmoniser::Mock::Channel::MockQueue

Inherits:
Object
  • Object
show all
Defined in:
lib/harmoniser/mock/channel.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, opts = {}) ⇒ MockQueue

Returns a new instance of MockQueue.



40
41
42
43
# File 'lib/harmoniser/mock/channel.rb', line 40

def initialize(name, opts = {})
  @name = name
  @opts = opts
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



38
39
40
# File 'lib/harmoniser/mock/channel.rb', line 38

def name
  @name
end

#optsObject (readonly)

Returns the value of attribute opts.



38
39
40
# File 'lib/harmoniser/mock/channel.rb', line 38

def opts
  @opts
end