:type aspect_id: str
"""
- data = {'authenticity_token': self.connection.getToken(),
+ data = {'authenticity_token': self.connection.get_token(),
'aspect_id': aspect_id,
'person_id': user_id}
:type aspect_id: str
"""
- data = {'authenticity_token': self.connection.getToken(),
+ data = {'authenticity_token': self.connection.get_token(),
'aspect_id': aspect_id,
'person_id': user_id}
def remove_aspect(self, aspect_id):
""" This function adds a new aspect.
"""
- data = {'authenticity_token': self.connection.getToken()}
+ data = {'authenticity_token': self.connection.get_token()}
r = self.connection.delete('aspects/{}'.format(aspect_id),
data=data)
'conversation[subject]': subject,
'conversation[text]': text,
'utf8': '✓',
- 'authenticity_token': self.connection.getToken()}
+ 'authenticity_token': self.connection.get_token()}
r = self.connection.post('conversations/',
data=data,