Class: Plezi::Base::Router::ADClient

Inherits:
Object
  • Object
show all
Defined in:
lib/plezi/router/adclient.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



9
10
11
12
13
14
# 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

#showObject



16
17
18
# File 'lib/plezi/router/adclient.rb', line 16

def show
   index
end