3
4
5
6
7
8
9
10
11
12
13
14
|
# File 'lib/redcuine/base.rb', line 3
def self.run
if res = check_args
Resource::Base.setup do
self.site = CONFIG["site"]
if CONFIG["user"] && CONFIG["password"]
self.user = CONFIG["user"]
self.password = CONFIG["password"]
end
end
end
return res
end
|