Class: Dupe::Network::DeleteMock

Inherits:
Mock
  • Object
show all
Defined in:
lib/superdupe/mock.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from Mock

#response, #url_pattern

Instance Method Summary collapse

Methods inherited from Mock

#initialize, #match?, #mocked_response

Constructor Details

This class inherits a constructor from Dupe::Network::Mock

Instance Method Details

#process_response(resp, url) ⇒ Object

logs the request



120
121
122
123
# File 'lib/superdupe/mock.rb', line 120

def process_response(resp, url)
  Dupe.network.log.add_request :delete, url, ""
  nil
end