Sha256: a59f50ee58f1a4ce9a15c2e9936fc65deddf52305ca6b3b23cfbf14279ab98b6
Contents?: true
Size: 403 Bytes
Versions: 23
Compression:
Stored size: 403 Bytes
Contents
module MeducationSDK class Friendship < 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