Class: Aws::AcfInterface::AcfStreamingDistributionListParser

Inherits:
AcfBaseDistributionParser show all
Defined in:
lib/acf/acf_interface.rb

Overview

:nodoc:

Constant Summary

Constants inherited from Aws::AwsParser

Aws::AwsParser::DEFAULT_XML_LIBRARY

Instance Attribute Summary

Attributes inherited from Aws::AwsParser

#result, #xml_lib, #xmlpath

Instance Method Summary collapse

Methods inherited from AcfBaseDistributionParser

#reset

Methods inherited from Aws::AwsParser

#initialize, #method_missing, #parse, #reset, #tag_end, #tag_start, #tagtext, #text, xml_lib, xml_lib=

Constructor Details

This class inherits a constructor from Aws::AwsParser

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Aws::AwsParser

Instance Method Details

#tagend(name) ⇒ Object



432
433
434
435
436
437
438
# File 'lib/acf/acf_interface.rb', line 432

def tagend(name)
  super(name)
  case name
    when 'StreamingDistributionSummary' then
      @result << @distribution
  end
end

#tagstart(name, attributes) ⇒ Object



428
429
430
# File 'lib/acf/acf_interface.rb', line 428

def tagstart(name, attributes)
  @distribution = {:cnames => []} if name == 'StreamingDistributionSummary'
end