Sha256: b82a7bb404140473007ca5b24e417350c9f0382c6f419608fc047a422244d6d0
Contents?: true
Size: 199 Bytes
Versions: 1
Compression:
Stored size: 199 Bytes
Contents
require "httparty" module Alephant module Scout class Url def valid?(url_to_scout) HTTParty.head(url_to_scout).code == 200 rescue false end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alephant-scout-0.0.1 | lib/alephant/scout/url.rb |