Class: Aws::Stubbing::EmptyStub Private

Inherits:
Object
  • Object
show all
Includes:
Seahorse::Model::Shapes
Defined in:
lib/aws-sdk-core/stubbing/empty_stub.rb

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

Instance Method Summary collapse

Constructor Details

#initialize(rules) ⇒ EmptyStub

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.

Returns a new instance of EmptyStub.

Parameters:

  • rules (Seahorse::Models::Shapes::ShapeRef)


8
9
10
# File 'lib/aws-sdk-core/stubbing/empty_stub.rb', line 8

def initialize(rules)
  @rules = rules
end

Instance Method Details

#stubStructure

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.

Returns:



13
14
15
# File 'lib/aws-sdk-core/stubbing/empty_stub.rb', line 13

def stub
  stub_ref(@rules)
end