Class: Aws::Api::OperationExample Private
- Inherits:
-
Object
- Object
- Aws::Api::OperationExample
- Includes:
- Seahorse::Model::Shapes
- Defined in:
- lib/aws-sdk-core/api/operation_example.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
-
#initialize(options) ⇒ OperationExample
constructor
private
A new instance of OperationExample.
- #to_str ⇒ Object (also: #to_s, #inspect) private
Methods included from Seahorse::Model::Shapes
Constructor Details
#initialize(options) ⇒ OperationExample
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 OperationExample.
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/aws-sdk-core/api/operation_example.rb', line 7 def initialize() @obj_name = [:svc_var_name] @method_name = [:method_name] @operation = [:operation] @streaming_output = !!( @operation.output && @operation.output.payload_member && @operation.output.payload_member.definition['streaming'] ) end |
Instance Method Details
#to_str ⇒ Object Also known as: to_s, inspect
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.
18 19 20 |
# File 'lib/aws-sdk-core/api/operation_example.rb', line 18 def to_str "resp = #{@obj_name}.#{@method_name}(#{params[1...-1]})" end |