Sha256: 50a54eef586f8c954e4dde054c63848d600e5e706ad3454fc5b0e8b7eac09023
Contents?: true
Size: 636 Bytes
Versions: 56
Compression:
Stored size: 636 Bytes
Contents
# frozen_string_literal: true module Decidim module Debates class DataPortabilityDebateSerializer < Decidim::Exporters::Serializer # Serializes a Debate for data portability def serialize { id: resource.id, title: resource.title, description: resource.description, instructions: resource.instructions, start_time: resource.start_time, end_time: resource.end_time, information_updates: resource.information_updates, reference: resource.reference, component: resource.component.name } end end end end
Version data entries
56 entries across 56 versions & 1 rubygems