Sha256: 162ec53e7a263f41c51646861b8c17bb5bac22bac4cac3d043984af398d9ace2
Contents?: true
Size: 436 Bytes
Versions: 2
Compression:
Stored size: 436 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 } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
meducation_sdk-0.4.1 | lib/meducation_sdk/resources/knowledge_bank_answer.rb |
meducation_sdk-0.4.0 | lib/meducation_sdk/resources/knowledge_bank_answer.rb |