1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
mod request; mod token; pub mod types; pub mod payment; extern crate serde; #[macro_use] extern crate serde_derive; extern crate serde_json; pub use self::token::get_token; const _ADDR: &str = "https://api.sandbox.paypal.com/v1"; fn _make_endpoint(ep: &str) -> String //{{{ { let mut _ep = String::from(_ADDR); _ep.push_str(ep); _ep } //}}}