Class: CnpOnline::VendorCreditListener
- Inherits:
-
DefaultCnpListener
- Object
- DefaultCnpListener
- CnpOnline::VendorCreditListener
- 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
162 163 164 165 166 |
# File 'lib/CnpListeners.rb', line 162 def apply(duck) if(duck["type"] == "vendorCreditResponse") then @action.call(duck) end end |