lib/contrast/components/agent.rb in contrast-agent-6.7.0 vs lib/contrast/components/agent.rb in contrast-agent-6.8.0

- old
+ new

@@ -4,11 +4,10 @@ require 'rubygems/version' require 'contrast/agent/rule_set' require 'contrast/components/logger' require 'contrast/components/security_logger' require 'contrast/components/heap_dump' -require 'contrast/components/service' require 'contrast/components/ruby_component' module Contrast module Components module Agent @@ -20,27 +19,14 @@ def initialize hsh = {} return unless hsh @_enable = hsh[:enable] - @_start_bundled_service = hsh[:start_bundled_service] @_omit_body = hsh[:omit_body] - @_service = Contrast::Components::Service::Interface.new(hsh[:service]) @_logger = Contrast::Components::Logger::Interface.new(hsh[:logger]) @_security_logger = Contrast::Components::SecurityLogger::Interface.new(hsh[:security_logger]) @_ruby = Contrast::Components::Ruby::Interface.new(hsh[:ruby]) @_heap_dump = Contrast::Components::HeapDump::Interface.new(hsh[:heap_dump]) - end - - # @return [Boolean, true] - def start_bundled_service? - @_start_bundled_service.nil? ? true : @_start_bundled_service - end - - def service - return @_service unless @_service.nil? - - @_service = Contrast::Components::Service::Interface.new end def logger return @_logger unless @_logger.nil?