Sha256: e4252fdfacad5d2e9d3498d8527f6d8897f68224ef2a70923fdcaa42dc2129e2
Contents?: true
Size: 416 Bytes
Versions: 9
Compression:
Stored size: 416 Bytes
Contents
module Enlight module Responses class ExportSurveyResponses < Enlight::Responses::Response attr_accessor :results def results=(value) if value.instance_of?(Array) && value.any? @results = [] value.each do |v| @results.append(Enlight::Models::SurveyResponse.new(v)) end else @results = nil end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems