Sha256: a2dc5b16b94c8e26ed5157c57dc6181e0a635e46beb1867b6b94ff70bb1a875b
Contents?: true
Size: 416 Bytes
Versions: 1
Compression:
Stored size: 416 Bytes
Contents
module MeducationSDK class Friendship < Loquor::Resource self.path = "/user_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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
meducation_sdk-0.5.0 | lib/meducation_sdk/resources/friendship.rb |