class ISE::Session

Defined in:

ise/session.cr

Constant Summary

HEADERS = {"Accept" => "application/json", "Content-Type" => "application/json"}

Constructors

Instance Method Summary

Constructor Detail

def self.new(base_url : String, username : String, password : String) #

[View source]

Instance Method Detail

def base_url : String #

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

[View source]
def client : Halite::Client #

[View source]
def client=(client : Halite::Client) #

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

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

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

[View source]