Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c8041a11ac
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (30 sloc) 0.82 kb
require 'generators/ixtlan/base'
module Ixtlan
module Generators
class ConfigurationBase < Base
def create
args = []
if name
args << ARGV.shift
else
args << "configuration"
end
if defined? ::Ixtlan::Errors
args << "errors_keep_dumps:integer"
args << "errors_base_url:string"
args << "errors_from_email:string"
args << "errors_to_emails:string"
end
if defined? ::Ixtlan::Sessions
args << "idle_session_timeout:integer"
end
if defined? ::Ixtlan::Audit
args << "audits_keep_logs:integer"
end
args += ARGV
args += ["--singleton", "--timestamps"]
generate generator_name, *args
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.