tallgrass/client/evolution_trigger

Functions

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

Fetches an evolution trigger by ID.

Example

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

Fetches an evolution trigger by name.

Example

let result = evolution_trigger.fetch_by_name("level-up")
Search Document