class NWSClient::Points

Included Modules

Defined in:

types/points.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Class Method Detail

def self.api_error(response) #

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


[View source]
def self.fetch(latitude : Float64, longitude : Float64, with client) #

[View source]
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


[View source]

Instance Method Detail

def _context : Array(String | Context) #

[View source]
def geometry : Geometry #

[View source]
def id : String #

[View source]
def properties : Properties #

[View source]
def type : String #

[View source]