Class: CnpOnline::RegisterTokenListener
- Inherits:
-
DefaultCnpListener
- Object
- DefaultCnpListener
- CnpOnline::RegisterTokenListener
- 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
250 251 252 253 254 |
# File 'lib/CnpListeners.rb', line 250 def apply(duck) if(duck["type"] == "registerTokenResponse") then @action.call(duck) end end |