Sha256: fecf152410c6e48562f27cf1eec7aaf1a347b3ce3c90c2e84d8d64c1e9b13d15

Contents?: true

Size: 359 Bytes

Versions: 30

Compression:

Stored size: 359 Bytes

Contents

# frozen_string_literal: true

module Quby
  module Questionnaires
    module Entities
      module Questions
        class RadioQuestion < Question
          def as_json(options = {})
            super.merge(options: @options.as_json)
          end

          def codebook_output_type
            :radio
          end
        end
      end
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
quby-5.6.1 lib/quby/questionnaires/entities/questions/radio_question.rb
quby-5.6.0 lib/quby/questionnaires/entities/questions/radio_question.rb
quby-5.5.0 lib/quby/questionnaires/entities/questions/radio_question.rb
quby-5.4.0 lib/quby/questionnaires/entities/questions/radio_question.rb
quby-5.3.1 lib/quby/questionnaires/entities/questions/radio_question.rb
quby-5.3.0 lib/quby/questionnaires/entities/questions/radio_question.rb
quby-5.2.0 lib/quby/questionnaires/entities/questions/radio_question.rb
quby-5.1.3 lib/quby/questionnaires/entities/questions/radio_question.rb
quby-5.1.2 lib/quby/questionnaires/entities/questions/radio_question.rb
quby-5.1.1 lib/quby/questionnaires/entities/questions/radio_question.rb
quby-5.1.0 lib/quby/questionnaires/entities/questions/radio_question.rb
quby-5.0.5 lib/quby/questionnaires/entities/questions/radio_question.rb
quby-5.0.4 lib/quby/questionnaires/entities/questions/radio_question.rb
quby-5.0.3 lib/quby/questionnaires/entities/questions/radio_question.rb
quby-5.0.2 lib/quby/questionnaires/entities/questions/radio_question.rb
quby-5.0.1 lib/quby/questionnaires/entities/questions/radio_question.rb
quby-5.0.0 lib/quby/questionnaires/entities/questions/radio_question.rb
quby-4.0.4 lib/quby/questionnaires/entities/questions/radio_question.rb
quby-5.0.0.pre4 lib/quby/questionnaires/entities/questions/radio_question.rb
quby-5.0.0.pre3 lib/quby/questionnaires/entities/questions/radio_question.rb