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
- #admin_endpoint(_options) {|RubyRabbitmqJanus::Janus::Transactions::RSpec.new| ... } ⇒ Object
- #handle_endpoint_public(_options) {|transaction| ... } ⇒ Object (also: #handle_endpoint_private)
-
#initialize ⇒ RRJRSpec
constructor
rubocop:disable Lint/MissingSuper.
- #session_endpoint_public(_options) {|RubyRabbitmqJanus::Janus::Transactions::RSpec.new| ... } ⇒ Object (also: #session_endpoint_private)
Methods inherited from RRJ
Constructor Details
#initialize ⇒ RRJRSpec
rubocop:disable Lint/MissingSuper
13 14 15 |
# File 'lib/rrj/rspec.rb', line 13 def initialize RubyRabbitmqJanus::Tools::Config.instance end |
Instance Method Details
#admin_endpoint(_options) {|RubyRabbitmqJanus::Janus::Transactions::RSpec.new| ... } ⇒ Object
31 32 33 |
# File 'lib/rrj/rspec.rb', line 31 def admin_endpoint() yield(RubyRabbitmqJanus::Janus::Transactions::RSpec.new) end |
#handle_endpoint_public(_options) {|transaction| ... } ⇒ Object Also known as: handle_endpoint_private
24 25 26 27 28 |
# File 'lib/rrj/rspec.rb', line 24 def handle_endpoint_public() transaction = RubyRabbitmqJanus::Janus::Transactions::RSpec.new yield(transaction) transaction.response end |
#session_endpoint_public(_options) {|RubyRabbitmqJanus::Janus::Transactions::RSpec.new| ... } ⇒ Object Also known as: session_endpoint_private
19 20 21 |
# File 'lib/rrj/rspec.rb', line 19 def session_endpoint_public() yield(RubyRabbitmqJanus::Janus::Transactions::RSpec.new) end |