Sha256: 76acbdf3e03eb7ef9ac4643f4cde2744f999e74d8c2be53787b09c0b0411f4f5

Contents?: true

Size: 268 Bytes

Versions: 18

Compression:

Stored size: 268 Bytes

Contents

module BivouacSample::Controllers
  class PeriodicallyCall < R '/periodically_call'
    def get
      render :periodically_call
    end
    def post
      require 'cgi'
      @data = CGI::escapeHTML( `ps -a` )
      render :_periodically_call_result
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
bivouac-0.0.7 examples/bivouac_sample/app/controllers/periodically_call.rb
bivouac-0.0.9 examples/bivouac_sample/app/controllers/periodically_call.rb
bivouac-0.1.1 examples/bivouac_sample/app/controllers/periodically_call.rb
bivouac-0.0.8 examples/bivouac_sample/app/controllers/periodically_call.rb
bivouac-0.1.0 examples/bivouac_sample/app/controllers/periodically_call.rb
bivouac-0.1.4 examples/bivouac_sample/app/controllers/periodically_call.rb
bivouac-0.1.2 examples/bivouac_sample/app/controllers/periodically_call.rb
bivouac-0.1.3 examples/bivouac_sample/app/controllers/periodically_call.rb
bivouac-0.1.5 examples/bivouac_sample/app/controllers/periodically_call.rb
bivouac-0.1.6 examples/bivouac_sample/app/controllers/periodically_call.rb
bivouac-0.2.0 examples/bivouac_sample/app/controllers/periodically_call.rb
bivouac-0.2.1 examples/bivouac_sample/app/controllers/periodically_call.rb
bivouac-0.2.2 examples/bivouac_sample/app/controllers/periodically_call.rb
bivouac-0.2.3 examples/bivouac_sample/app/controllers/periodically_call.rb
bivouac-0.2.4 examples/bivouac_sample/app/controllers/periodically_call.rb
bivouac-0.3.0 examples/bivouac_sample/app/controllers/periodically_call.rb
bivouac-0.4.0 examples/bivouac_sample/app/controllers/periodically_call.rb
bivouac-0.2.5 examples/bivouac_sample/app/controllers/periodically_call.rb