ExShla v0.1.3 ExShla.Resource.Episode View Source

Rick and Morty episode data from an API response

Attributes

id The id of the episode.

name The name of the episode.

air_date The air date of the episode.

episode The code of the episode.

characters List of characters who have been seen in the episode.

url Link to the episode’s own endpoint.

created Time at which the episode was created in the database.

Link to this section Summary

Link to this section Types

Link to this type data() View Source
data() :: %{meta: ExShla.Meta.t(), data: [t()]}
Link to this type error() View Source
error() :: {:error, reason()}
Link to this type reason() View Source
reason() :: atom() | binary()
Link to this type success() View Source
success() :: {:ok, struct()} | {:ok, data()}
Link to this type t() View Source
t() :: %ExShla.Resource.Episode{
  air_date: binary(),
  characters: [binary()],
  created: binary(),
  episode: binary(),
  id: integer(),
  name: binary(),
  url: binary()
}

Link to this section Functions

Link to this function all(query \\ []) View Source
all(query :: keyword()) :: result()