lib/redfish_client/response.rb in redfish_client-0.5.4 vs lib/redfish_client/response.rb in redfish_client-0.6.0
- old
+ new
@@ -15,9 +15,13 @@
@status = status
@headers = headers
@body = body
end
+ # Returns wether the request is completed or ongoing. Be aware than completed
+ # doesn't mean completed successfully, and that you still need to check status
+ # for success or failure.
+ # @return [true] if the request was completed
def done?
status != 202
end
def monitor