Method: Aws::ClientStubs#setup_stubbing

Defined in:
lib/aws-sdk-core/client_stubs.rb

#setup_stubbingObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



17
18
19
20
21
22
23
# File 'lib/aws-sdk-core/client_stubs.rb', line 17

def setup_stubbing
  if Hash === @config.stub_responses
    @config.stub_responses.each do |operation_name, stubs|
      apply_stubs(operation_name, Array === stubs ? stubs : [stubs])
    end
  end
end