class

FleetApp::ApiResult

Inherits JSON::Serializable < Reference < Object

The "happy" result from an API call.

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

message
Source
status_code
Source
success?

Returns true if status_code is 200, false otherwise.

Source