Class: Aws::Query::ParamList::IoWrapper Private

Inherits:
Object
  • Object
show all
Defined in:
lib/aws-sdk-core/query/param_list.rb

Overview

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.

API:

  • private

Instance Attribute Summary collapse

Instance Method Summary collapse

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.

Parameters:

API:

  • private



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_listParamList (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.

Returns:

API:

  • private



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.

Returns:

API:

  • private



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

#rewindvoid

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.

API:

  • private



80
81
82
# File 'lib/aws-sdk-core/query/param_list.rb', line 80

def rewind
  @io.rewind
end

#sizeInteger

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:

API:

  • private



75
76
77
# File 'lib/aws-sdk-core/query/param_list.rb', line 75

def size
  @io.size
end