lib/meducation_sdk/resources/group.rb in meducation_sdk-0.6.1 vs lib/meducation_sdk/resources/group.rb in meducation_sdk-0.7.0

- old
+ new

@@ -3,9 +3,13 @@ self.path = "/groups" def created_by @created_by = User.find(created_by_id) end + + def admins + [created_by] + end end class GroupMock < Group extend Loquor::ResourceMock