class

NWSClient::Points

Inherits JSON::Serializable < NWSClient::ErrorHelpers < NWSClient::APIHelper < Reference < Object

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(latitude : Float64, longitude : Float64, with client)
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

Instance methods

_context
Source
geometry
Source
properties
Source
type
Source

Nested types