

class Deal:
    def __init__(self, requester):
        self.requester = requester

    def create(self, deal_data):
        url = 'opportunity'

        return self.requester.post(url, deal_data)

@@ -191,8 +191,313 @@
 l_data)%0A
+%0A    def update(self, deal_id, deal_data):%0A        url = 'opportunity/partial-update'%0A%0A        deal_data%5B'id'%5D = deal_id%0A%0A        return self.requester.put(url, deal_data)%0A%0A    def fetch(self, deal_id):%0A        url = 'opportunity/%7Bdeal_id%7D'.format(deal_id=deal_id)%0A%0A        return self.requester.get(url)%0A

Implement updating and fetching a deal