#!/usr/bin/env python # -*- encoding: utf-8 -*- from .base import Resource __all__ = ('Key', 'Plan', 'User') class Key(Resource): def __str__(self): return '' % getattr(self, 'title', '') class Plan(Resource): def __str__(self): return '' % getattr(self, 'name', '') class User(Resource): """ """ _maps = {'plan': Plan} _dates = ('created_at', ) def __str__(self): return '' % getattr(self, 'login', '')