Module: Zena::Remote::Mock::Connection
- Defined in:
- lib/zena/remote/mock.rb
Overview
Include this module to mock the connection and use the integration test to execute the actual request operations.
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
57 58 59 60 61 62 63 |
# File 'lib/zena/remote/mock.rb', line 57 def self.included(base) def base.perform_request(http_method, path, ) #:nodoc: = .dup.merge() () request = Zena::Remote::Mock::Request.new(http_method, path, ).perform end end |