Sha256: 5d507337d537ffb01fa64fe235542347458f8dbf99c8081d73368b7199eeb106

Contents?: true

Size: 420 Bytes

Versions: 7

Compression:

Stored size: 420 Bytes

Contents

module MnoEnterprise
  # List All Answers
  # MnoEnterprise::AppAnswer.all
  # Create an AppAnswer
  # MnoEnterprise::AppAnswer.create(description: "This is my answer", organization_id: 3, user_id: 9, app_id: 43, question_id: 1)

  # An AppAnswer belong to an AppQuestion
  class AppAnswer < AppReview
    attributes :question_id

    belongs_to :question, class_name: 'AppQuestion', foreign_key: :question_id
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mno-enterprise-core-3.4.0 app/models/mno_enterprise/app_answer.rb
mno-enterprise-core-3.3.3 app/models/mno_enterprise/app_answer.rb
mno-enterprise-core-3.3.2 app/models/mno_enterprise/app_answer.rb
mno-enterprise-core-3.2.1 app/models/mno_enterprise/app_answer.rb
mno-enterprise-core-3.3.1 app/models/mno_enterprise/app_answer.rb
mno-enterprise-core-3.3.0 app/models/mno_enterprise/app_answer.rb
mno-enterprise-core-3.2.0 app/models/mno_enterprise/app_answer.rb