yeti / signals

MIT License
3 stars 4 forks source link

Remove app model from data model #51

Closed leemcdole closed 8 years ago

leemcdole commented 8 years ago

DataModel now has a delegate which must be set before calling setup. The delegate is used by DataModel to retrieve the URL of the API, and also to retrieve the auth token. This also simplifies our CLI slightly, as the api_url argument is no longer needed. fixes #27 @rmutter @walkingtowork @baylee

walkingtowork commented 8 years ago

If we're no longer prompting the user for an api url, you can remove add_trailing_slash_to_api from main.py, as well as the associated test.