{"action":"closed","issue":{"url":"https://api.github.com/repos/jkeyes/python-intercom/issues/94","labels_url":"https://api.github.com/repos/jkeyes/python-intercom/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/jkeyes/python-intercom/issues/94/comments","events_url":"https://api.github.com/repos/jkeyes/python-intercom/issues/94/events","html_url":"https://github.com/jkeyes/python-intercom/issues/94","id":75385251,"number":94,"title":"Can not inherit from resource classes","user":{"login":"teeberg","id":199071,"avatar_url":"https://avatars.githubusercontent.com/u/199071?v=3","gravatar_id":"","url":"https://api.github.com/users/teeberg","html_url":"https://github.com/teeberg","followers_url":"https://api.github.com/users/teeberg/followers","following_url":"https://api.github.com/users/teeberg/following{/other_user}","gists_url":"https://api.github.com/users/teeberg/gists{/gist_id}","starred_url":"https://api.github.com/users/teeberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teeberg/subscriptions","organizations_url":"https://api.github.com/users/teeberg/orgs","repos_url":"https://api.github.com/users/teeberg/repos","events_url":"https://api.github.com/users/teeberg/events{/privacy}","received_events_url":"https://api.github.com/users/teeberg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-11T22:48:36Z","updated_at":"2015-08-11T16:06:13Z","closed_at":"2015-08-11T16:06:13Z","body":"The current design deduces the API endpoints from the class name. If you want to inherit from a Resource class to give it more functionality, this screws up the API endpoint \"computation\". I think it would be nicer to specify the endpoint name directly as an attribute of the class instead of deriving it. In the spirit of [The Zen of Python](https://www.python.org/dev/peps/pep-0020/):\r\n\r\n> Explicit is better than implicit.\r\n\r\nand\r\n\r\n> In the face of ambiguity, refuse the temptation to guess.\r\n\r\nHave you thought about this? What do you think?"}}