Sha256: e8a3669583140d59f08b4c41d555a62241831602ca5d54e02b9674d8919d12ef
Contents?: true
Size: 418 Bytes
Versions: 14
Compression:
Stored size: 418 Bytes
Contents
module MeducationSDK class UserConnection < Resource self.path = "/user_connections" def user @user ||= User.find(user_id) end def connected_user @connected_user ||= User.find(connected_user_id) end end class UserConnectionMock < UserConnection extend Loquor::ResourceMock self.attributes = { id: 1, user_id: 8, connected_user_id: 9, } end end
Version data entries
14 entries across 14 versions & 1 rubygems