Module: Aws::AsyncClientStubs

Includes:
ClientStubs
Included in:
Kinesis::AsyncClient, LexRuntimeV2::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



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

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