class

FleetApp::ClientWrapper

Inherits Reference < Object

Wraps over the client's response bodies and returns result objects.

Constructors

new(environment : String, client : FleetApp::Client | Nil = nil)
Source

Instance methods

client
Source
get(game_name : String, path : String)

Executes a GET request to Fleet App.

Source
post(game_name : String, path : String, body : String)

Executes a POST request to Fleet App.

Source
post_with_auth(game_name : String, path : String, body : String, basic_auth : String)

Executes a POST request with basic auth to Fleet App.

Source