class RubyRabbitmqJanus::RRJRSpec

# RRJRSpec

Initializer to use with RSpec execution

Public Class Methods

new() click to toggle source

rubocop:disable Lint/MissingSuper

# File lib/rrj/rspec.rb, line 13
def initialize
  RubyRabbitmqJanus::Tools::Config.instance
end

Public Instance Methods

admin_endpoint(_options) { |r_spec| ... } click to toggle source

@see RubyRabbitmqJanus::RRJAdmin::admin_endpoint

# File lib/rrj/rspec.rb, line 31
def admin_endpoint(_options)
  yield(RubyRabbitmqJanus::Janus::Transactions::RSpec.new)
end
handle_endpoint_private(_options)
handle_endpoint_public(_options) { |transaction| ... } click to toggle source

@see RubyRabbitmqJanus::RRJ::session_endpoint_private

# File lib/rrj/rspec.rb, line 24
def handle_endpoint_public(_options)
  transaction = RubyRabbitmqJanus::Janus::Transactions::RSpec.new
  yield(transaction)
  transaction.response
end
Also aliased as: handle_endpoint_private
session_endpoint_private(_options)
session_endpoint_public(_options) { |r_spec| ... } click to toggle source

@see RubyRabbitmqJanus::RRJ::session_endpoint_public

# File lib/rrj/rspec.rb, line 19
def session_endpoint_public(_options)
  yield(RubyRabbitmqJanus::Janus::Transactions::RSpec.new)
end
Also aliased as: session_endpoint_private