Class: Kushojin::ControllerMethods::SendChangeCallback
- Inherits:
-
Object
- Object
- Kushojin::ControllerMethods::SendChangeCallback
- Defined in:
- lib/kushojin/controller_methods/send_change_callback.rb
Instance Method Summary collapse
- #around(controller) ⇒ Object
-
#initialize(sender: nil) ⇒ SendChangeCallback
constructor
A new instance of SendChangeCallback.
Constructor Details
#initialize(sender: nil) ⇒ SendChangeCallback
Returns a new instance of SendChangeCallback.
4 5 6 |
# File 'lib/kushojin/controller_methods/send_change_callback.rb', line 4 def initialize(sender: nil) @sender = sender || Config.sender end |