ExDisco.Releases.Rating (ex_disco v0.1.0)

Copy Markdown View Source

The average rating and the total number of user ratings for a given release.

Summary

Types

t()

@type t() :: %ExDisco.Releases.Rating{average: float(), count: pos_integer()}

Functions

from_api(data)

@spec from_api(map()) :: t()