Class: Plezi::Base::Router::ADClient
- Inherits:
-
Object
- Object
- Plezi::Base::Router::ADClient
- Defined in:
- lib/plezi/router/adclient.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
9 10 11 12 13 14 |
# File 'lib/plezi/router/adclient.rb', line 9 def index fname = File.(File.join(File.dirname(__FILE__), '..', '..', '..', 'resources', 'client.js')) response.body = File.open(fname) response['X-Sendfile'] = fname true end |
#show ⇒ Object
16 17 18 |
# File 'lib/plezi/router/adclient.rb', line 16 def show index end |