Class: ResponseCallback::Success
- Inherits:
-
Object
- Object
- ResponseCallback::Success
- Includes:
- ResponseCallbackInitializer
- Defined in:
- lib/response_callback.rb
Instance Method Summary collapse
Methods included from ResponseCallbackInitializer
Instance Method Details
#on_fail ⇒ Object
17 18 19 |
# File 'lib/response_callback.rb', line 17 def on_fail return end |
#on_success {|@var| ... } ⇒ Object
13 14 15 |
# File 'lib/response_callback.rb', line 13 def on_success yield @var end |