Method: Res::Reporters::Lion#initialize
- Defined in:
- lib/res/reporters/lion.rb
#initialize(args) ⇒ Lion
Returns a new instance of Lion.
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/res/reporters/lion.rb', line 9 def initialize(args) @url = args[:url] # :device_type is optional for backward compatibility # At the next major version update this should be moved into the # required list. @config = Res::Config.new([:url, :tag, :description, :app_name, :target], :optional => [:hive_job_id, :queue, :cert, :cacert, :ssl_verify_mode, :device_type, :version], :pre_env => 'LION_') config.process(args) end |