class Dogapi::V1::EventService

Defined in:

dogapi/v1/event.cr

Constant Summary

MAX_BODY_LENGTH = 4000
MAX_TITLE_LENGTH = 100

Instance Method Summary

Instance methods inherited from class Dogapi::APIService

handle_response(resp) handle_response, prepare_params(extra_params, with_app_key) prepare_params, request(method, url, extra_params, body, send_json, with_app_key = true) request, suppress_error_if_silent(e) suppress_error_if_silent

Constructor methods inherited from class Dogapi::APIService

new(api_key : String, application_key : Nil | String = nil, silent : Bool = true, timeout : Int32 | Nil = nil, endpoint : Nil | String = nil) new

Instance Method Detail

def delete_event(id) #

Delete an event

+id+ of the event to delete


[View source]
def get_event(id) #

Get the details of an event

+id+ of the event to get


[View source]
def post(event, scope = nil) #

[View source]
def start(api_key, event, scope, source_type = {} of String => String, &) #

DEPRECATED: Going forward, use the V1 services. This legacy service will be removed in an upcoming release.


[View source]
def submit(api_key, event, scope = nil, source_type = {} of String => String) #

DEPRECATED: Going forward, use the V1 services. This legacy service will be removed in an upcoming release.


[View source]