Sha256: 428374944b91b37f5bd4fb9e77385a27ac8bd585a69b28b95a5befe29b9624a2
Contents?: true
Size: 394 Bytes
Versions: 26
Compression:
Stored size: 394 Bytes
Contents
module MeducationSDK class GroupMembership < Loquor::Resource self.path = "/group_memberships" def group @group ||= Group.find(group_id) end def user @user ||= User.find(user_id) end end class GroupMembershipMock < GroupMembership extend Loquor::ResourceMock self.attributes = { id: 1, group_id: 5, user_id: 8 } end end
Version data entries
26 entries across 26 versions & 1 rubygems