Exoplanet.Post (Exoplanet v0.2.0)

View Source

Post definition

Exoplanet will produce a list of these feed entries

Summary

Functions

Builds the struct of posts or feed entries

Types

t()

@type t() :: %Exoplanet.Post{
  authors: [String.t()],
  body: String.t(),
  id: String.t(),
  published: NaiveDateTime.t(),
  title: String.t()
}

Functions

build(attrs, body)

@spec build(map(), String.t()) :: t()

Builds the struct of posts or feed entries