Class: CnpOnline::PhysicalCheckCreditListener
- Inherits:
-
DefaultCnpListener
- Object
- DefaultCnpListener
- CnpOnline::PhysicalCheckCreditListener
- 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
194 195 196 197 198 |
# File 'lib/CnpListeners.rb', line 194 def apply(duck) if(duck["type"] == "physicalCheckCreditResponse") then @action.call(duck) end end |