struct

LuckyHoneypot::Signals

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)

Class methods

human_rating(json : String) : Float64

Convenience method to calculate the human rating for a class method.

Instance methods

focus?
human_rating

Calculates the likelihood of a human (0 being a bot, 1 being a human).

keyboard?
mouse?
scroll?
touch?