Created
August 2, 2011 22:02
-
-
Save MarkMenard/1121342 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ServerInformationTool < Tool | |
accepts :homepage_url, :format => :http_url, :validates => { :http_url => { :require_valid_host_name => true } } | |
for_each_input :homepage_url do | |
build ServerInformationInfo | |
build GeoIpInfo | |
build DnsInfo | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment