code: def get_link(self, rel):
          
          if rel in self.links:
              return self.links[rel]
          raise ResourceNotFound('Resource requested: %r is not available '
              'on this element.' % rel)
docs: Return link for specified resource