Sha256: 75ea805acce08c82135d602d3a998705255dbd5c1b9ead75ec8279f79e8f90c6

Contents?: true

Size: 429 Bytes

Versions: 24

Compression:

Stored size: 429 Bytes

Contents

module MeducationSDK
  class KnowledgeBankQuestion < Loquor::Resource
    self.path = "/knowledge_bank_questions"

    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

24 entries across 24 versions & 1 rubygems

Version Path
meducation_sdk-1.4.3 lib/meducation_sdk/resources/knowledge_bank_question.rb
meducation_sdk-1.4.2 lib/meducation_sdk/resources/knowledge_bank_question.rb
meducation_sdk-1.4.1 lib/meducation_sdk/resources/knowledge_bank_question.rb
meducation_sdk-1.4.0 lib/meducation_sdk/resources/knowledge_bank_question.rb
meducation_sdk-1.3.0 lib/meducation_sdk/resources/knowledge_bank_question.rb
meducation_sdk-1.2.6 lib/meducation_sdk/resources/knowledge_bank_question.rb
meducation_sdk-1.2.5 lib/meducation_sdk/resources/knowledge_bank_question.rb
meducation_sdk-1.2.4 lib/meducation_sdk/resources/knowledge_bank_question.rb
meducation_sdk-1.2.3 lib/meducation_sdk/resources/knowledge_bank_question.rb
meducation_sdk-1.2.2 lib/meducation_sdk/resources/knowledge_bank_question.rb
meducation_sdk-1.2.1 lib/meducation_sdk/resources/knowledge_bank_question.rb
meducation_sdk-1.2.0 lib/meducation_sdk/resources/knowledge_bank_question.rb
meducation_sdk-1.1.2 lib/meducation_sdk/resources/knowledge_bank_question.rb
meducation_sdk-1.1.1 lib/meducation_sdk/resources/knowledge_bank_question.rb
meducation_sdk-1.1.0 lib/meducation_sdk/resources/knowledge_bank_question.rb
meducation_sdk-1.0.0 lib/meducation_sdk/resources/knowledge_bank_question.rb
meducation_sdk-0.10.1 lib/meducation_sdk/resources/knowledge_bank_question.rb
meducation_sdk-0.10.0 lib/meducation_sdk/resources/knowledge_bank_question.rb
meducation_sdk-0.9.0 lib/meducation_sdk/resources/knowledge_bank_question.rb
meducation_sdk-0.8.0 lib/meducation_sdk/resources/knowledge_bank_question.rb