commit | 5098fa2ae20ebdcbb305fa613508ffc43407043b | [log] [tgz] |
---|---|---|
author | chris fattarsi <chris.fattarsi@pistoncloud.com> | Tue Apr 17 13:27:00 2012 -0700 |
committer | chris fattarsi <chris.fattarsi@pistoncloud.com> | Sat Apr 21 09:46:28 2012 -0700 |
tree | 8a6f23087af2e1113da7695ee61c6f56f611efac | |
parent | 629c744359f48c9ea14dbb41c2f8a75878e9cce2 [diff] |
Clients subclass the RestClient to allow attributes to be overrided by each client and allow better code reuse. Changes the RestClient to set the token and base_url when it is needed for a request. Also allows for it to be cleared so that it can be renewed. Fixes lp#977594 Change-Id: I040d1c171a4018326a5b700e303652c95a3b3542