class Dogapi::APIService

Overview

Superclass that deals with the details of communicating with the DataDog API.

Direct Known Subclasses

Defined in:

dogapi/common.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def handle_response(resp) #

[View source]
def prepare_params(extra_params, with_app_key) #

[View source]
def request(method, url, extra_params, body, send_json, with_app_key = true) #

[View source]
def suppress_error_if_silent(e) #

[View source]