Class: RubyRabbitmqJanus::RRJRSpec
- Inherits:
-
RRJTaskAdmin
- Object
- RRJ
- RRJTask
- RRJTaskAdmin
- RubyRabbitmqJanus::RRJRSpec
- Defined in:
- lib/rrj/rspec.rb
Overview
# RRJRSpec
Initializer to use with RSpec execution
Instance Attribute Summary
Attributes inherited from RRJ
Instance Method Summary collapse
-
#initialize ⇒ RRJRSpec
constructor
A new instance of RRJRSpec.
- #start_transaction(_exclusive, _options) {|RubyRabbitmqJanus::Janus::Transactions::RSpec.new| ... } ⇒ Object (also: #session_endpoint_public, #session_endpoint_private) deprecated Deprecated.
- #start_transaction_admin(_options) {|RubyRabbitmqJanus::Janus::Transactions::RSpec.new| ... } ⇒ Object (also: #admin_endpoint) deprecated Deprecated.
- #start_transaction_handle(_exclusive, _options) {|transaction| ... } ⇒ Object (also: #handle_endpoint_public, #handle_endpoint_private) deprecated Deprecated.
Methods inherited from RRJ
Constructor Details
#initialize ⇒ RRJRSpec
Returns a new instance of RRJRSpec.
12 13 14 |
# File 'lib/rrj/rspec.rb', line 12 def initialize RubyRabbitmqJanus::Tools::Config.instance end |
Instance Method Details
#start_transaction(_exclusive, _options) {|RubyRabbitmqJanus::Janus::Transactions::RSpec.new| ... } ⇒ Object Also known as: session_endpoint_public, session_endpoint_private
Deprecated.
17 18 19 |
# File 'lib/rrj/rspec.rb', line 17 def start_transaction(_exclusive, ) yield(RubyRabbitmqJanus::Janus::Transactions::RSpec.new) end |
#start_transaction_admin(_options) {|RubyRabbitmqJanus::Janus::Transactions::RSpec.new| ... } ⇒ Object Also known as: admin_endpoint
Deprecated.
29 30 31 |
# File 'lib/rrj/rspec.rb', line 29 def start_transaction_admin() yield(RubyRabbitmqJanus::Janus::Transactions::RSpec.new) end |
#start_transaction_handle(_exclusive, _options) {|transaction| ... } ⇒ Object Also known as: handle_endpoint_public, handle_endpoint_private
Deprecated.
22 23 24 25 26 |
# File 'lib/rrj/rspec.rb', line 22 def start_transaction_handle(_exclusive, ) transaction = RubyRabbitmqJanus::Janus::Transactions::RSpec.new yield(transaction) transaction.response end |