Don't expose the options hash.

This commit is contained in:
Chris Lowder
2012-01-24 15:10:25 +00:00
parent 1b701cddf3
commit a0a2dd9454
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -3,12 +3,11 @@ require "foreman/utils"
class Foreman::Export::Base
attr_reader :location, :engine, :options, :app, :log, :port, :user, :template, :concurrency
attr_reader :location, :engine, :app, :log, :port, :user, :template, :concurrency
def initialize(location, engine, options={})
@location = location
@engine = engine
@options = options
@app = options[:app]
@log = options[:log]
@port = options[:port]