ex_metra v0.1.0 ExMetra.Calendar

Represents a response from the calendar 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 Calendar struct

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

Link to this section Types

Link to this type t()
t() :: %ExMetra.Calendar{end_date: Date.t(), friday: boolean(), monday: boolean(), saturday: boolean(), service_id: String.t(), start_date: Date.t(), sunday: boolean(), thursday: boolean(), tuesday: boolean(), wednesday: boolean()}

Link to this section Functions

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

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

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