Sha256: 8c36dfdba01044c856211ef17ef64a849106c43ea6f6ef934992cfe571fb84be

Contents?: true

Size: 416 Bytes

Versions: 7

Compression:

Stored size: 416 Bytes

Contents

require_relative 'json_base'
require_relative 'customer_answer'
module CorePro
  module Models
    class CustomerQuestion < JsonBase
      attr_accessor :answers
      attr_accessor :prompt
      attr_accessor :type

      def from_json! json, classDefs
        classDefs = classDefs || {}
        super json, classDefs
      end

      def initialize
        super
        @answers = []
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
corepro_fvr-1.0.9 lib/corepro/models/customer_question.rb
corepro_eg-1.0.8 lib/corepro/models/customer_question.rb
corepro_eg-1.0.7 lib/corepro/models/customer_question.rb
corepro_eg-1.0.6 lib/corepro/models/customer_question.rb
corepro_eg-1.0.5 lib/corepro/models/customer_question.rb
corepro_eg-1.0.4 lib/corepro/models/customer_question.rb
corepro_eg-1.0.3 lib/corepro/models/customer_question.rb