class

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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Class 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

Source
fetch(with client, *, resource_at path = FETCH_PATH)

Fetch the resource with the client, raising an NWSClient::APIError if the request was not successful

Source
fetch_active(with client)
Source

Instance methods

_context
Source
features
Source
pagination
Source
title
Source
type
Source
updated
Source

Nested types