Sha256: 2f41c8d870c3234b94c38dc8cc4e2a21e61db73acac5453e0ee34386ebad4eb8
Contents?: true
Size: 411 Bytes
Versions: 23
Compression:
Stored size: 411 Bytes
Contents
module MeducationSDK class Friendship < Loquor::Resource self.path = "/friendships" def user @user ||= User.find(user_id) end def friend @friend ||= User.find(friend_id) end end class FriendshipMock < Friendship extend Loquor::ResourceMock self.attributes = { id: 1, user_id: 8, friend_id: 9, accept_code: "asdsad21312e" } end end
Version data entries
23 entries across 23 versions & 1 rubygems