Module: Hactor::Actor
- Defined in:
- lib/hactor/actor.rb
Instance Method Summary collapse
Instance Method Details
#call(response) ⇒ Object
3 4 5 |
# File 'lib/hactor/actor.rb', line 3 def call(response) self.send "on_#{response.status}".to_s, response end |