lib/api/person.rb in fellowshipone-api-0.6.4 vs lib/api/person.rb in fellowshipone-api-0.7.0
- old
+ new
@@ -151,9 +151,27 @@
end
@communications_cache
end
+ def status_name
+ self.status['name']
+ end
+
+ def status_date
+ self.status['date']
+ end
+
+ def status_comment
+ self.status['comment']
+ end
+
+ def substatus_name
+ self.status['subStatus']['name']
+ end
+
+
+
def _field_map
{:id => '@id',
:uri => '@uri',
:imageUri => '@imageURI',
:oldId => '@oldID',