Sha256: 2a6215111423796ecffd7996bca5b4d937e4e7b6da526c8b133f37bd8c71fa18

Contents?: true

Size: 349 Bytes

Versions: 34

Compression:

Stored size: 349 Bytes

Contents

# frozen_string_literal: true

module Quby
  module Questionnaires
    module Entities
      module Questions
        class DeprecatedQuestion < Question
          def hidden?
            true
          end

          def as_json(options = {})
            super.merge(options: @options.as_json)
          end
        end
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
quby-5.6.6 lib/quby/questionnaires/entities/questions/deprecated_question.rb
quby-5.6.5 lib/quby/questionnaires/entities/questions/deprecated_question.rb
quby-5.6.3 lib/quby/questionnaires/entities/questions/deprecated_question.rb
quby-5.6.2 lib/quby/questionnaires/entities/questions/deprecated_question.rb
quby-5.6.1 lib/quby/questionnaires/entities/questions/deprecated_question.rb
quby-5.6.0 lib/quby/questionnaires/entities/questions/deprecated_question.rb
quby-5.5.0 lib/quby/questionnaires/entities/questions/deprecated_question.rb
quby-5.4.0 lib/quby/questionnaires/entities/questions/deprecated_question.rb
quby-5.3.1 lib/quby/questionnaires/entities/questions/deprecated_question.rb
quby-5.3.0 lib/quby/questionnaires/entities/questions/deprecated_question.rb
quby-5.2.0 lib/quby/questionnaires/entities/questions/deprecated_question.rb
quby-5.1.3 lib/quby/questionnaires/entities/questions/deprecated_question.rb
quby-5.1.2 lib/quby/questionnaires/entities/questions/deprecated_question.rb
quby-5.1.1 lib/quby/questionnaires/entities/questions/deprecated_question.rb
quby-5.1.0 lib/quby/questionnaires/entities/questions/deprecated_question.rb
quby-5.0.5 lib/quby/questionnaires/entities/questions/deprecated_question.rb
quby-5.0.4 lib/quby/questionnaires/entities/questions/deprecated_question.rb
quby-5.0.3 lib/quby/questionnaires/entities/questions/deprecated_question.rb
quby-5.0.2 lib/quby/questionnaires/entities/questions/deprecated_question.rb
quby-5.0.1 lib/quby/questionnaires/entities/questions/deprecated_question.rb