Sha256: 9eb5bee0a093b2992b110b71e64b6ec519bef4d3a0101c2103019264362daed0
Contents?: true
Size: 547 Bytes
Versions: 3
Compression:
Stored size: 547 Bytes
Contents
module MeducationSDK class GroupInvite < Loquor::Resource self.path = "/group_invites" def group @group ||= Group.find(group_id) end def invited_by @invited_by ||= User.find(invited_by_id) end def user @user ||= User.find(user_id) end end class GroupInviteMock < GroupInvite extend Loquor::ResourceMock self.attributes = { id: 1, group_id: 8, user_id: 8, invited_by_id: 12, message: "", email: "", accept_code: "123asdqwe" } end end
Version data entries
3 entries across 3 versions & 1 rubygems