class RubyRabbitmqJanus::Janus::Transactions::RSpec

Transaction for RSpec initializer @!attribute [r] response

Given a Janus response

Attributes

response[R]

Public Class Methods

new() click to toggle source

Initialize fake object

# File lib/rrj/janus/transactions/rspec.rb, line 13
def initialize
  @response = nil
end

Public Instance Methods

connect() click to toggle source

Fake method

# File lib/rrj/janus/transactions/rspec.rb, line 18
def connect; end
detach() click to toggle source

Fake method

# File lib/rrj/janus/transactions/rspec.rb, line 21
def detach; end
detach_for_deleting() click to toggle source

Fake method

# File lib/rrj/janus/transactions/rspec.rb, line 24
def detach_for_deleting; end
publish_message(type, _options) click to toggle source

Publish fake message

# File lib/rrj/janus/transactions/rspec.rb, line 27
def publish_message(type, _options)
  @response = Janus::Responses::RSpec.new(type)
end