lib/meibo/user.rb in meibo-0.14.0 vs lib/meibo/user.rb in meibo-0.15.0
- old
+ new
@@ -66,9 +66,13 @@
@primary_org_sourced_id = primary_org_sourced_id
@pronouns = pronouns
@extension_fields = extension_fields
end
+ def collection
+ Meibo.current_roster.users
+ end
+
def agents
agent_sourced_ids.map {|agent_sourced_id| Meibo.current_roster.users.find(agent_sourced_id) }
end
def demographic