lib/redfish_client.rb in redfish_client-0.1.0 vs lib/redfish_client.rb in redfish_client-0.2.0
- old
+ new
@@ -1,20 +1,11 @@
# frozen_string_literal: true
require "redfish_client/connector"
-require "redfish_client/null_logger"
require "redfish_client/root"
require "redfish_client/version"
module RedfishClient
- def self.logger
- @logger ||= NullLogger.new
- end
-
- def self.logger=(logger)
- @logger = logger
- end
-
def self.new(url, prefix: "/redfish/v1", verify: true)
con = Connector.new(url, verify)
Root.new(con, oid: prefix)
end
end