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

Inherits:
Object
  • Object
show all
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

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:



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_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:



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.

Returns:

  • (String, nil)


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

#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.



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

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:

  • (Integer)


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

def size
  @io.size
end