class NWSClient::Points
- NWSClient::Points
- Reference
- Object
Included Modules
- JSON::Serializable
- NWSClient::APIHelper
- NWSClient::ErrorHelpers
Defined in:
types/points.crConstructors
Class Method Summary
- .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(latitude : Float64, longitude : Float64, with client)
-
.fetch(with client, *, resource_at path = FETCH_PATH)
Fetch the resource with the client, raising an NWSClient::APIError if the request was not successful
Instance Method Summary
- #_context : Array(String | Context)
- #geometry : Geometry
- #id : String
- #properties : Properties
- #type : String
Constructor Detail
Class Method Detail
def self.fetch(with client, *, resource_at path = FETCH_PATH, &)
#
Fetch the resource with the client, yielding to the block if the request was not successful
def self.fetch(with client, *, resource_at path = FETCH_PATH)
#
Fetch the resource with the client, raising an NWSClient::APIError if the request was not successful