class

PlaceOS::Triggers::Api::Webhook

Inherits Application < ActionController::Base < ActionController::Responders < ActionController::Route::Builder < Reference < Object

Constants

PARSER_LIST = ["application/json"]
RESPONDER_LIST = ["application/json"]

Class methods

base_route

Helper for obtaining base route

create(hash_parts : Hash(String | Symbol, Nil | Bool | Int32 | Int64 | Float32 | Float64 | String | Symbol) | Nil = nil, **tuple_parts)

Helper methods for performing redirect_to calls

Instance methods

base_route(*args, **options)

Helper for obtaining base route

base_route(*args, **options, &)

Helper for obtaining base route

create

Informs the service that a webhook has been performed Return 204 if the state isn't loaded, 202 on success

Source
find_hook(id : String, secret : String)
Source
trigger
Source
trigger?
Source