Sha256: ec603bf19935980c81fab3d25040b4d99e25460abb588917a1dfa9d07d88d879
Contents?: true
Size: 444 Bytes
Versions: 2
Compression:
Stored size: 444 Bytes
Contents
module MeducationSDK class GroupDiscussionPost < Loquor::Resource self.path = "/group_discussions_posts" def user @user ||= User.find(user_id) end def discussion @discussion ||= GroupDiscussion.find(discussion_id) end end class GroupDiscussionPostMock < GroupDiscussionPost extend Loquor::ResourceMock self.attributes = { id: 1, user_id: 3, discussion_id: 8 } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
meducation_sdk-0.4.1 | lib/meducation_sdk/resources/group_discussion_post.rb |
meducation_sdk-0.4.0 | lib/meducation_sdk/resources/group_discussion_post.rb |