Sha256: 48bb06d9b8a2005a8688f3543ae15191a8812728eee28395b702620740873fb6
Contents?: true
Size: 467 Bytes
Versions: 28
Compression:
Stored size: 467 Bytes
Contents
module MeducationSDK class KnowledgeBankQuestion < Resource self.path = "/knowledge_bank_questions" self.spi_type = "KnowledgeBank::Question" def user @user = User.find(user_id) end end class KnowledgeBankQuestionMock < KnowledgeBankQuestion extend Loquor::ResourceMock self.attributes = { id: 1, user_id: 12, title: "My great question", parsed_content: "More details about my question" } end end
Version data entries
28 entries across 28 versions & 1 rubygems