class Quiver::DutyTestHelper
Attributes
adapter[RW]
Public Class Methods
new()
click to toggle source
# File lib/quiver/duty_test_helper.rb, line 3 def initialize self.adapter = helper_class.new end
Public Instance Methods
carry_out(count)
click to toggle source
# File lib/quiver/duty_test_helper.rb, line 7 def carry_out(count) adapter.carry_out(count) end
Private Instance Methods
helper_class()
click to toggle source
# File lib/quiver/duty_test_helper.rb, line 15 def helper_class adapter_type = self.class.parents[-2]::Application.default_duty_queue_backend self.class.const_get(adapter_type.to_s.camelize + 'Helper') end