Class: Mole::Transport::SuckerPunch
- Inherits:
-
Object
- Object
- Mole::Transport::SuckerPunch
- Defined in:
- lib/orwell/mole/transport/sucker_punch.rb
Defined Under Namespace
Classes: AsyncWrapper
Instance Attribute Summary collapse
-
#request_options ⇒ Object
readonly
Returns the value of attribute request_options.
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ SuckerPunch
constructor
A new instance of SuckerPunch.
- #perform(event) ⇒ Object
Constructor Details
#initialize(opts = {}) ⇒ SuckerPunch
Returns a new instance of SuckerPunch.
17 18 19 |
# File 'lib/orwell/mole/transport/sucker_punch.rb', line 17 def initialize(opts = {}) = opts end |
Instance Attribute Details
#request_options ⇒ Object (readonly)
Returns the value of attribute request_options.
15 16 17 |
# File 'lib/orwell/mole/transport/sucker_punch.rb', line 15 def end |
Instance Method Details
#perform(event) ⇒ Object
21 22 23 |
# File 'lib/orwell/mole/transport/sucker_punch.rb', line 21 def perform(event) AsyncWrapper.new.perform(event, ) end |