Sha256: 49c427143b8638f23455147f63d7788668261bb00b81f865fc542121e7e2f46c
Contents?: true
Size: 1.12 KB
Versions: 25
Compression:
Stored size: 1.12 KB
Contents
# frozen_string_literal: true module Decidim module Conferences class DownloadYourDataConferenceInviteSerializer < Decidim::Exporters::Serializer # Serializes a conference invite for download your data def serialize { id: resource.id, sent_at: resource.sent_at, accepted_at: resource.accepted_at, rejected_at: resource.rejected_at, user: { name: resource.user.name, email: resource.user.email }, registration_type: { title: resource.registration_type.title, price: resource.registration_type.price }, conference: { title: resource.conference.title, reference: resource.conference.reference, slogan: resource.conference.slogan, description: resource.conference.description, start_date: resource.conference.start_date, end_date: resource.conference.end_date, location: resource.conference.location, objectives: resource.conference.objectives } } end end end end
Version data entries
25 entries across 25 versions & 1 rubygems