NWSClient::Alerts
Inherits NWSClient::ErrorHelpers < NWSClient::APIHelper < JSON::Serializable < Reference < Object
Constants
FETCH_ACTIVE_PATH = "/alerts/active"
FETCH_PATH = "/alerts"
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceClass methods
api_error(response)
fetch(with client, *, resource_at path = FETCH_PATH, &)
Fetch the resource with the client, yielding to the block if the request was not successful
fetch(with client, *, resource_at path = FETCH_PATH)
Fetch the resource with the client, raising an NWSClient::APIError if the request was not successful
fetch_active(with client)
SourceInstance methods
_context
Sourcefeatures
Sourcepagination
Sourcetitle
Sourcetype
Sourceupdated
Source