Sha256: e6ac9f491dc97bcf6d18e9c9f9b635fa9d6c876a78cc0f30b89ce7abbf0fcc03

Contents?: true

Size: 234 Bytes

Versions: 1

Compression:

Stored size: 234 Bytes

Contents

class AWS::EC2::Instance
  include IsPortOpen

  def port_open?(port)
    super(dns_name, port)
  end

  def ssh_open?
    port_open? 22
  end

  def http_open?
    port_open? 80
  end

  def https_open?
    port_open? 443
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rodeo_clown-0.1.0 lib/rodeo_clown/ext/aws/ec2/instance.rb