Sha256: 1d9abed43e456197c2bdd021612c742a6eb6bfaf30a35b71874617f204d3d6e6
Contents?: true
Size: 477 Bytes
Versions: 24
Compression:
Stored size: 477 Bytes
Contents
module MeducationSDK class KnowledgeBankAnswer < Loquor::Resource self.path = "/knowledge_bank_answers" def question @question = KnowledgeBankQuestion.find(question_id) end def user @user = User.find(user_id) end end class KnowledgeBankAnswerMock < KnowledgeBankAnswer extend Loquor::ResourceMock self.attributes = { id: 1, question_id: 5, user_id: 12, parsed_content: "My great answer" } end end
Version data entries
24 entries across 24 versions & 1 rubygems