Class: Configurationjs

Inherits:
Object
  • Object
show all
Defined in:
lib/wirispluginengine/integration/configurationjs.rb

Instance Method Summary collapse

Instance Method Details

#dispatch(request, response, pb) ⇒ Object



4
5
6
7
8
# File 'lib/wirispluginengine/integration/configurationjs.rb', line 4

def dispatch (request, response, pb)
    conf = pb.getConfiguration()
    response.body = conf.getJavaScriptConfigurationJson()

end