struct SerfHandler::Event

Defined in:

serf-handler/event.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(type : Symbol = Event.env_serf_event || (:query), name : String | Nil = nil, payload : String = STDIN.gets_to_end.strip, env = ENV) #

[View source]

Class Method Detail

def self.env_serf_event(env = ENV) : Nil | Symbol #

[View source]

Instance Method Detail

def name : String #

[View source]
def payload : String #

[View source]
def type : Symbol #

[View source]