Class: Aws::Stubbing::Protocols::Rest Private
- Inherits:
-
Object
- Object
- Aws::Stubbing::Protocols::Rest
- Includes:
- Seahorse::Model::Shapes
- Defined in:
- lib/aws-sdk-core/stubbing/protocols/rest.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
Instance Method Details
#stub_data(api, operation, data) ⇒ Object
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.
13 14 15 16 17 18 19 |
# File 'lib/aws-sdk-core/stubbing/protocols/rest.rb', line 13 def stub_data(api, operation, data) resp = new_http_response apply_status_code(operation, resp, data) apply_headers(operation, resp, data) apply_body(api, operation, resp, data) resp end |