tallgrass/client/encounter_method
Functions
pub fn fetch_by_id(id: Int) -> Result(EncounterMethod, Error)
Fetches an encounter method by the method ID.
Example
let result = encounter_method.fetch_by_id(1)
pub fn fetch_by_name(
name: String,
) -> Result(EncounterMethod, Error)
Fetches an encounter method by the method name.
Example
let result = encounter_method.fetch_by_name("walk")