Class: Aws::Elb::QElbConfigureHealthCheckParser
- Defined in:
- lib/elb/elb_interface.rb
Constant Summary
Constants inherited from AwsParser
AwsParser::DEFAULT_XML_LIBRARY
Instance Attribute Summary
Attributes inherited from AwsParser
Instance Method Summary collapse
Methods inherited from AwsParser
#initialize, #method_missing, #parse, #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
#reset ⇒ Object
398 399 400 |
# File 'lib/elb/elb_interface.rb', line 398 def reset @result = {} end |
#tagend(name) ⇒ Object
408 409 410 411 412 413 414 415 416 417 418 419 420 421 |
# File 'lib/elb/elb_interface.rb', line 408 def tagend(name) case name when 'HealthyThreshold' then @result[:health_check][:healthy_threshold] = @text.to_i when 'UnhealthyThreshold' then @result[:health_check][:unhealthy_threshold] = @text.to_i when 'Interval' then @result[:health_check][:interval] = @text.to_i when 'Target' then @result[:health_check][:target] = @text when 'Timeout' then @result[:health_check][:timeout] = @text.to_i end end |
#tagstart(name, attributes) ⇒ Object
402 403 404 405 406 |
# File 'lib/elb/elb_interface.rb', line 402 def (name, attributes) if name == 'HealthCheck' @result[:health_check] = {} end end |