Method: Fog::Parsers::AWS::ELB::ConfigureHealthCheck#end_element
- Defined in:
- lib/rackspace-fog/aws/parsers/elb/configure_health_check.rb
#end_element(name) ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/rackspace-fog/aws/parsers/elb/configure_health_check.rb', line 17 def end_element(name) case name when 'Target' @health_check[name] = value when 'Interval', 'Timeout', 'UnhealthyThreshold', 'HealthyThreshold' @health_check[name] = value.to_i when 'HealthCheck' @response['ConfigureHealthCheckResult'][name] = @health_check when 'RequestId' @response['ResponseMetadata'][name] = value end end |