class Plezi::Base::Router::ADClient

Public Instance Methods

index() click to toggle source
# File lib/plezi/router/adclient.rb, line 9
def index
   fname = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', '..', 'resources', 'client.js'))
   response.body = File.open(fname)
   response['X-Sendfile'] = fname
   true
end
show() click to toggle source
# File lib/plezi/router/adclient.rb, line 16
def show
   index
end