Sha256: 298f9fe6e25d50f92c7c07a887563fc19927990af0c5721bf882e7d4a1a994ff

Contents?: true

Size: 526 Bytes

Versions: 12

Compression:

Stored size: 526 Bytes

Contents

require 'plezi/router/route'
require 'plezi/router/errors'
require 'plezi/router/assets'

module Plezi
   module Base
      module Router
         class ADClient
            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

            def show
               index
            end
         end
      end
   end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
plezi-0.16.4 lib/plezi/router/adclient.rb
plezi-0.16.3 lib/plezi/router/adclient.rb
plezi-0.16.2 lib/plezi/router/adclient.rb
plezi-0.16.1 lib/plezi/router/adclient.rb
plezi-0.16.0 lib/plezi/router/adclient.rb
plezi-0.15.1 lib/plezi/router/adclient.rb
plezi-0.15.0 lib/plezi/router/adclient.rb
plezi-0.14.9 lib/plezi/router/adclient.rb
plezi-0.14.8 lib/plezi/router/adclient.rb
plezi-0.14.7 lib/plezi/router/adclient.rb
plezi-0.14.6 lib/plezi/router/adclient.rb
plezi-0.14.5 lib/plezi/router/adclient.rb