You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Xml::Parser::FlatListFrame

Inherits:
Frame
  • Object
show all
Defined in:
gems/aws-sdk-core/lib/aws-sdk-core/xml/parser/frame.rb

Instance Attribute Summary

Attributes inherited from Frame

#parent, #ref

Instance Method Summary collapse

Methods inherited from Frame

new

Constructor Details

#initialize(xml_name, *args) ⇒ FlatListFrame

Returns a new instance of FlatListFrame



160
161
162
163
# File 'gems/aws-sdk-core/lib/aws-sdk-core/xml/parser/frame.rb', line 160

def initialize(xml_name, *args)
  super
  @member = Frame.new(xml_name, self, @ref.shape.member)
end

Instance Method Details

#child_frame(xml_name) ⇒ Object



173
174
175
# File 'gems/aws-sdk-core/lib/aws-sdk-core/xml/parser/frame.rb', line 173

def child_frame(xml_name)
  @member.child_frame(xml_name)
end

#consume_child_frame(child) ⇒ Object



177
178
179
# File 'gems/aws-sdk-core/lib/aws-sdk-core/xml/parser/frame.rb', line 177

def consume_child_frame(child)
  @result = @member.result
end

#resultObject



165
166
167
# File 'gems/aws-sdk-core/lib/aws-sdk-core/xml/parser/frame.rb', line 165

def result
  @member.result
end

#set_text(value) ⇒ Object



169
170
171
# File 'gems/aws-sdk-core/lib/aws-sdk-core/xml/parser/frame.rb', line 169

def set_text(value)
  @member.set_text(value)
end