ex_metra v0.1.0 ExMetra.CalendarDate

Represents a response from the calendar_dates 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 CalendarDate struct

The specific part of the url that will call the calendar date API

Link to this section Types

Link to this type exception()
exception() :: integer()
Link to this type t()
t() :: %ExMetra.CalendarDate{date: DateTime.t(), exception_type: exception(), service_id: String.t()}

Link to this section Functions

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

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

The specific part of the url that will call the calendar date API