class FleetApp::ApiResult

Overview

The "happy" result from an API call.

Included Modules

Defined in:

fleet_app/api_result.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def message : String #

[View source]
def status_code : Int32 #

[View source]
def success? #

Returns true if #status_code is 200, false otherwise.


[View source]