Class: LitleOnline::CreditListener

Inherits:
DefaultLitleListener show all
Defined in:
lib/LitleListeners.rb

Instance Method Summary collapse

Methods inherited from DefaultLitleListener

#initialize

Constructor Details

This class inherits a constructor from LitleOnline::DefaultLitleListener

Instance Method Details

#apply(duck) ⇒ Object



87
88
89
90
91
# File 'lib/LitleListeners.rb', line 87

def apply(duck)
  if(duck["type"] == "creditResponse") then
    @action.call(duck)
  end
end