class StatusCat::Checkers::Profilesio
Public Class Methods
new()
click to toggle source
# File lib/status_cat/checkers/profilesio.rb, line 7 def initialize @value = api_key @status = fail_on_exception do response = ::HTTParty.get('https://profiles.io/record/register') response.code == 200 ? nil : 'fail' end end