Sha256: c05010e9876ad3efe6b8d4ab57e665828b356ad327b5be91977fc2317ad09bb7

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

module RSpecApi
  module DSL
    module HttpClient
      def send_request(verb, route, body, authorization)
        # To be overriden
      end

      def last_response
        # To be overriden. status MUST be a number, headers MUST be a hash
        OpenStruct.new status: nil, headers: {} # body: nil,
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rspec-api-0.5.0 lib/rspec-api/http_clients/empty.rb