lib/redfish_client/resource.rb in redfish_client-0.1.0 vs lib/redfish_client/resource.rb in redfish_client-0.2.0

- old
+ new

@@ -166,10 +166,10 @@ end private def get_path(field, path) - raise NoODataId if path.nil? and !key?(field) + raise NoODataId if path.nil? && !key?(field) path || @content[field] end def cache(name) @cache[name] ||= build_resource(@content.fetch(name))