Class: CnpOnline::AuthorizationListener
- Inherits:
-
DefaultCnpListener
- Object
- DefaultCnpListener
- CnpOnline::AuthorizationListener
- Defined in:
- lib/CnpListeners.rb
Instance Method Summary collapse
Methods inherited from DefaultCnpListener
Constructor Details
This class inherits a constructor from CnpOnline::DefaultCnpListener
Instance Method Details
#apply(duck) ⇒ Object
42 43 44 45 46 |
# File 'lib/CnpListeners.rb', line 42 def apply(duck) if(duck["type"] == "authorizationResponse") then @action.call(duck) end end |