ex_metra v0.1.1 ExMetra.Shape
Represents a response from the shapes API call
Link to this section Summary
Functions
Converts a map that was provided by the Poison library, which represents a JSON object and turns it into a Shape struct
The specific part of the url that will call the shape API
Link to this section Types
Link to this type
t()
t() :: %ExMetra.Shape{shape_id: String.t(), shape_pt_lat: number(), shape_pt_lon: number(), shape_pt_sequence: integer()}
Link to this section Functions
Converts a map that was provided by the Poison library, which represents a JSON object and turns it into a Shape struct
The specific part of the url that will call the shape API