Class: ExportHistorySerializer
- Inherits:
-
ApplicationSerializer
- Object
- ActiveModel::Serializer
- ApplicationSerializer
- ExportHistorySerializer
- Includes:
- Sidekiq::Status::Worker
- Defined in:
- app/serializers/export_history_serializer.rb
Overview
Schema Information
Table name: attachments
id :integer not null, primary key
desktop_version :string(191)
excel :text(16777215)
image :string(191)
locale :string(191)
mobile_version :string(191)
pdf :text(16777215)
priority :integer default(0)
created_at :datetime not null
updated_at :datetime not null
group_landing_page_id :bigint
Indexes
(group_landing_page_id)
Foreign Keys
fk_rails_... (group_landing_page_id => group_landing_pages.id) ON DELETE => cascade
Instance Method Summary collapse
Methods inherited from ApplicationSerializer
decorate_attributes, decorator, #object_cache_key
Instance Method Details
#download_link ⇒ Object
55 56 57 |
# File 'app/serializers/export_history_serializer.rb', line 55 def download_link object.download_link&.values&.first end |