Class: Aws::AcfInterface::AcfDistributionListParser

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



397
398
399
400
401
402
403
# File 'lib/acf/acf_interface.rb', line 397

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

#tagstart(name, attributes) ⇒ Object



393
394
395
# File 'lib/acf/acf_interface.rb', line 393

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