Method: Snitcher#snitch

Defined in:
lib/snitcher.rb

#snitch(*args) ⇒ Boolean

Check-in to Dead Man’s Snitch.

Examples:

Snitch.snitch("c2354d53d2")
# => true

Parameters:

  • token (String)

    The unique Snitch token to check-in with. This can be found on the Setup page as the last part of the HTTP check-in url. For example, c2354d53d2 is the token in nosnch.in/c2354d53d2.

  • opts (Hash)

Returns:

  • (Boolean)

    if the check-in succeeded.



78
79
80
81
82
# File 'lib/snitcher.rb', line 78

def snitch(*args)
  snitch!(*args)
rescue StandardError
  false
end