Class: LitleOnline::AuthorizationListener

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



46
47
48
49
50
# File 'lib/LitleListeners.rb', line 46

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