I hereby claim:
- I am sethlopezme on github.
- I am sethlopez (https://keybase.io/sethlopez) on keybase.
- I have a public key ASARj60WtsGiHtRNL8Xw4gUxU9T1zqojCzDawBTRfG51PAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
{ | |
"name": "testing-hapi-js-apis", | |
"version": "1.0.0", | |
"license": "MIT", | |
"scripts": { | |
"test": "ava --verbose test.js" | |
}, | |
"dependencies": { | |
"ava": "^0.16.0", | |
"hapi": "^15.1.1" |
#![feature(plugin)] | |
#![plugin(rocket_codegen)] | |
// use rocket::config; | |
use rocket::http::Method; | |
use rocket::testing::MockRequest; | |
extern crate config as lib; | |
#[test] |
extern crate reqwest; | |
extern crate serde; | |
#[macro_use] | |
extern crate serde_derive; | |
extern crate serde_urlencoded; | |
use std::collections::HashSet; | |
use std::fmt; | |
use serde::Serializer; |
#[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)] | |
pub enum Scope { | |
Any, | |
Account, | |
Edit, | |
// ... | |
} | |
impl fmt::Display for Scope { | |
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { |