class FleetApp::ErrorResult
- FleetApp::ErrorResult
- Reference
- Object
Overview
The "sad" result from an API call.
Included Modules
- JSON::Serializable
Defined in:
fleet_app/error_result.crConstructors
Instance Method Summary
- #message : String
- #status_code : Int32
-
#success?
Returns
true
if#status_code
is200
,false
otherwise.