class Desigo::Session

Defined in:

desigo/session.cr

Constant Summary

Log = ::Log.for(self)

Constructors

Instance Method Summary

Constructor Detail

def self.new(base_url : String, api_key : String) #

[View source]

Instance Method Detail

def delete(url : String, body) : Crest::Response #

[View source]
def get(url : String) : Crest::Response #

[View source]
def post(url : String, body) : Crest::Response #

[View source]
def put(url : String, body) : Crest::Response #

[View source]
def request(method : String, url : String, body) : Crest::Response #

[View source]
def single_request_timeout : Int32 #

[View source]
def single_request_timeout=(single_request_timeout : Int32) #

[View source]
def user_agent : String #

[View source]
def user_agent=(user_agent : String) #

[View source]