tallgrass/client/berry_flavor

Functions

pub fn fetch_by_id(id: Int) -> Result(Flavor, Error)

Fetches a berry flavor by the flavor ID.

Example

let result = berry_flavor.fetch_by_id(1)
pub fn fetch_by_name(name: String) -> Result(Flavor, Error)

Fetches a berry flavor by the flavor name.

Example

let result = berry_flavor.fetch_by_name("spicy")
Search Document