{"action":"opened","issue":{"url":"https://api.github.com/repos/textmagic/textmagic-rest-python/issues/2","labels_url":"https://api.github.com/repos/textmagic/textmagic-rest-python/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/textmagic/textmagic-rest-python/issues/2/comments","events_url":"https://api.github.com/repos/textmagic/textmagic-rest-python/issues/2/events","html_url":"https://github.com/textmagic/textmagic-rest-python/issues/2","id":107036514,"number":2,"title":"Model.uri property is broken","user":{"login":"davisn","id":3407527,"avatar_url":"https://avatars.githubusercontent.com/u/3407527?v=3","gravatar_id":"","url":"https://api.github.com/users/davisn","html_url":"https://github.com/davisn","followers_url":"https://api.github.com/users/davisn/followers","following_url":"https://api.github.com/users/davisn/following{/other_user}","gists_url":"https://api.github.com/users/davisn/gists{/gist_id}","starred_url":"https://api.github.com/users/davisn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davisn/subscriptions","organizations_url":"https://api.github.com/users/davisn/orgs","repos_url":"https://api.github.com/users/davisn/repos","events_url":"https://api.github.com/users/davisn/events{/privacy}","received_events_url":"https://api.github.com/users/davisn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-17T17:46:56Z","updated_at":"2015-09-17T17:46:56Z","closed_at":null,"body":"When I try to access the `uri` property of a `Model`,\r\nI get an exception saying the object has to `base_uri` attribute.\r\n\r\nFor example:\r\n\r\n```\r\n>>> chats = client.chats.list()[0]\r\n>>> chats\r\n[<textmagic.rest.models.chats.Chat object at 0x25ba450>]\r\n>>> chats[0].uri\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"textmagic/rest/models/base.py\", line 170, in uri\r\n    return \"%s/%s\" % (self.base_uri, self.name)\r\nAttributeError: 'Chat' object has no attribute 'base_uri'\r\n>>> \r\n```\r\n"}}