Sha256: 6b80bdf16f45d1df4df059ccc416c71a71accf0ce3311e3c0d99fac66a0b7355
Contents?: true
Size: 385 Bytes
Versions: 2
Compression:
Stored size: 385 Bytes
Contents
class Application < Rhosync::Base class << self def authenticate(username,password,session) session[:auth] = "delegated" password == 'wrongpass' ? false : true end # Add hooks for application startup here # Don't forget to call super at the end! def initializer(path) super end end end Application.initializer(File.dirname(__FILE__))
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rhosync-2.0.0.beta2 | spec/apps/rhotestapp/application.rb |
rhosync-2.0.0.beta1 | spec/apps/rhotestapp/application.rb |