Parent

Methods

Class/Module Index [+]

Quicksearch

Ironfan::Dsl::Ec2::ElasticLoadBalancer::HealthCheck

Public Instance Methods

target() click to toggle source
# File lib/ironfan/dsl/ec2.rb, line 156
def target
  if ] HTTP HTTPS ].include?(self.ping_protocol)
    "#{self.ping_protocol}:#{self.ping_port}#{self.ping_path}"
  else
    "#{self.ping_protocol}:#{self.ping_port}"
  end
end
to_fog() click to toggle source
# File lib/ironfan/dsl/ec2.rb, line 164
def to_fog
  health_check       = {
    'HealthyThreshold'   => healthy_threshold,
    'Timeout'            => timeout,
    'UnhealthyThreshold' => unhealthy_threshold,
    'Interval'           => interval,
    'Target'             => target
  }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.