tomba/account.rs
1use std::collections::HashMap;
2
3use crate::error::TombaError;
4use crate::tomba::{Tomba, TombaResponse};
5
6impl Tomba {
7 /// Returns information about the current account.
8 ///
9 /// See <https://developer.tomba.io/#account>
10 pub fn account(&self) -> Result<TombaResponse, TombaError> {
11 self.call("GET", "me", &HashMap::new())
12 }
13}