1mod pay_api;
2pub use pay_api::*;
3mod data;
4pub use data::*;
5
6#[derive(Debug)]
8pub enum ReqMethod {
9 Get,
10 Post,
11}
12impl ReqMethod {
13 pub fn as_str(&self) -> &str {
14 match &self {
15 &ReqMethod::Get => "GET",
16 &ReqMethod::Post => "POST",
17 }
18 }
19}