Class: Aws::Query::ParamList::IoWrapper Private
- Inherits:
-
Object
- Object
- Aws::Query::ParamList::IoWrapper
- Defined in:
- lib/aws-sdk-core/query/param_list.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 Attribute Summary collapse
- #param_list ⇒ ParamList readonly private
Instance Method Summary collapse
-
#initialize(param_list) ⇒ IoWrapper
constructor
private
A new instance of IoWrapper.
- #read(bytes = nil, output_buffer = nil) ⇒ String? private
- #rewind ⇒ void private
- #size ⇒ Integer private
Constructor Details
#initialize(param_list) ⇒ IoWrapper
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 IoWrapper.
64 65 66 67 |
# File 'lib/aws-sdk-core/query/param_list.rb', line 64 def initialize(param_list) @param_list = param_list @io = StringIO.new(param_list.to_s) end |
Instance Attribute Details
#param_list ⇒ ParamList (readonly)
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.
70 71 72 |
# File 'lib/aws-sdk-core/query/param_list.rb', line 70 def param_list @param_list end |
Instance Method Details
#read(bytes = nil, output_buffer = nil) ⇒ String?
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.
83 84 85 |
# File 'lib/aws-sdk-core/query/param_list.rb', line 83 def read(bytes = nil, output_buffer = nil) @io.read(bytes, output_buffer) end |
#rewind ⇒ void
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.
This method returns an undefined value.
78 79 80 |
# File 'lib/aws-sdk-core/query/param_list.rb', line 78 def rewind @io.rewind end |
#size ⇒ Integer
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.
73 74 75 |
# File 'lib/aws-sdk-core/query/param_list.rb', line 73 def size @io.size end |