Sha256: 230c71c859a6d8a943068badefe95a1ea44b845556eb1dc734076a2d3f7a91d9

Contents?: true

Size: 371 Bytes

Versions: 47

Compression:

Stored size: 371 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Verifications
    module CsvCensus
      module Admin
        # A form to temporaly upload csv census data
        class CensusDataForm < Form
          mimic :census_data

          attribute :file

          def data
            CsvCensus::Data.new(file.path)
          end
        end
      end
    end
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
decidim-verifications-0.26.10 app/forms/decidim/verifications/csv_census/admin/census_data_form.rb
decidim-verifications-0.26.9 app/forms/decidim/verifications/csv_census/admin/census_data_form.rb
decidim-verifications-0.26.8 app/forms/decidim/verifications/csv_census/admin/census_data_form.rb
decidim-verifications-0.26.7 app/forms/decidim/verifications/csv_census/admin/census_data_form.rb
decidim-verifications-0.26.5 app/forms/decidim/verifications/csv_census/admin/census_data_form.rb
decidim-verifications-0.26.4 app/forms/decidim/verifications/csv_census/admin/census_data_form.rb
decidim-verifications-0.27.0 app/forms/decidim/verifications/csv_census/admin/census_data_form.rb
decidim-verifications-0.26.3 app/forms/decidim/verifications/csv_census/admin/census_data_form.rb
decidim-verifications-0.27.0.rc2 app/forms/decidim/verifications/csv_census/admin/census_data_form.rb
decidim-verifications-0.27.0.rc1 app/forms/decidim/verifications/csv_census/admin/census_data_form.rb
decidim-verifications-0.26.2 app/forms/decidim/verifications/csv_census/admin/census_data_form.rb
decidim-verifications-0.26.1 app/forms/decidim/verifications/csv_census/admin/census_data_form.rb
decidim-verifications-0.26.0 app/forms/decidim/verifications/csv_census/admin/census_data_form.rb
decidim-verifications-0.26.0.rc2 app/forms/decidim/verifications/csv_census/admin/census_data_form.rb
decidim-verifications-0.26.0.rc1 app/forms/decidim/verifications/csv_census/admin/census_data_form.rb
decidim-verifications-0.25.2 app/forms/decidim/verifications/csv_census/admin/census_data_form.rb
decidim-verifications-0.25.1 app/forms/decidim/verifications/csv_census/admin/census_data_form.rb
decidim-verifications-0.25.0 app/forms/decidim/verifications/csv_census/admin/census_data_form.rb
decidim-verifications-0.25.0.rc4 app/forms/decidim/verifications/csv_census/admin/census_data_form.rb
decidim-verifications-0.25.0.rc3 app/forms/decidim/verifications/csv_census/admin/census_data_form.rb