lib/attorney.rb in attorney-0.0.0 vs lib/attorney.rb in attorney-1.0.0

- old
+ new

@@ -1,5 +1,15 @@ -require "attorney/version" +require 'attorney/engine' +require 'jquery-rails' module Attorney - # Your code goes here... + mattr_accessor :application_layout do + 'application' + end + + def self.http_auth + { + name: ENV['ATTORNEY_HTTP_AUTH_NAME'] || 'attorney', + password: ENV['ATTORNEY_HTTP_AUTH_PASSWORD'] || 'secret' + } + end end