Sha256: ff68cc9abfb4ffb2c9402b4f411467b0e499e5b9d20ae03eff143ea5a10009e3

Contents?: true

Size: 434 Bytes

Versions: 1

Compression:

Stored size: 434 Bytes

Contents

# 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
redfish_client-0.1.0 lib/redfish_client.rb