ex_metra v0.1.0 ExMetra.Route

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 Route struct

The specific part of the url that will call the route API

Link to this section Types

Link to this type t()
t() :: %ExMetra.Route{agency_id: String.t(), route_color: String.t(), route_desc: String.t(), route_id: String.t(), route_long_name: String.t(), route_short_name: String.t(), route_text_color: String.t(), route_type: integer(), route_url: String.t()}

Link to this section Functions

Link to this function from_json(json)
from_json(map()) :: ExMetra.Route.t()

Converts a map that was provided by the Poison library, which represents a JSON object and turns it into Route struct

The specific part of the url that will call the route API