lib/quby/compiler/entities/questionnaire.rb in quby-compiler-0.5.0 vs lib/quby/compiler/entities/questionnaire.rb in quby-compiler-0.5.1
- old
+ new
@@ -59,25 +59,25 @@
attr_accessor :key
attr_accessor :title
attr_accessor :description
attr_accessor :outcome_description
attr_accessor :short_description
- attr_accessor :roqua_keys
+ attr_writer :roqua_keys
attr_accessor :sbg_key # not required to be unique
attr_accessor :sbg_domains
attr_accessor :versions
attr_accessor :abortable
attr_accessor :enable_previous_questionnaire_button
attr_accessor :panels
attr_accessor :score_calculations
attr_accessor :default_answer_value
attr_accessor :renderer_version
- attr_accessor :leave_page_alert
+ attr_writer :leave_page_alert
attr_reader :fields
attr_accessor :extra_css
attr_accessor :allow_switch_to_bulk
- attr_accessor :license
+ attr_reader :license
attr_accessor :licensor
attr_accessor :language
attr_accessor :respondent_types
attr_reader :tags # tags= is manually defined below
attr_accessor :outcome_regeneration_requested_at
@@ -89,10 +89,10 @@
attr_accessor :check_score_keys_consistency
# If false, we don't check html for validity (for mate1 and mate1_pre)
attr_accessor :validate_html
attr_accessor :last_author
- attr_accessor :allow_hotkeys # allow hotkeys for :all views, just :bulk views (default), or :none for never
+ attr_writer :allow_hotkeys # allow hotkeys for :all views, just :bulk views (default), or :none for never
attr_accessor :charts
attr_accessor :flags
attr_accessor :textvars