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.
66 67 68 69 |
# File 'lib/aws-sdk-core/query/param_list.rb', line 66 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.
72 73 74 |
# File 'lib/aws-sdk-core/query/param_list.rb', line 72 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.
85 86 87 |
# File 'lib/aws-sdk-core/query/param_list.rb', line 85 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.
80 81 82 |
# File 'lib/aws-sdk-core/query/param_list.rb', line 80 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.
75 76 77 |
# File 'lib/aws-sdk-core/query/param_list.rb', line 75 def size @io.size end |