You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Module: Aws::AsyncClientStubs

Includes:
ClientStubs
Included in:
Kinesis::AsyncClient, TranscribeStreamingService::AsyncClient
Defined in:
gems/aws-sdk-core/lib/aws-sdk-core/async_client_stubs.rb

Defined Under Namespace

Classes: StubStream

Instance Method Summary collapse

Methods included from ClientStubs

#api_requests, #stub_data, #stub_responses

Instance Method Details

#send_eventsObject



41
42
43
44
45
46
47
48
49
# File 'gems/aws-sdk-core/lib/aws-sdk-core/async_client_stubs.rb', line 41

def send_events
  if config.stub_responses
    @send_events
  else
    msg = 'This method is only implemented for stubbed clients, and is '
    msg << 'available when you enable stubbing in the constructor with `stub_responses: true`'
    raise NotImplementedError.new(msg)
  end
end