trabajo-afectivo/lib/sequencer/sequence/import/freshdesk/description.rb

26 lines
815 B
Ruby
Raw Normal View History

2021-05-25 12:30:12 +00:00
class Sequencer
class Sequence
module Import
module Freshdesk
class Description < Sequencer::Sequence::Base
def self.sequence
[
'Common::ModelClass::Ticket::Article',
'Import::Freshdesk::Description::Mapping',
# Handling of inline images and attachments is the same for first article (description)
# and subsequent articles (conversation).
'Import::Freshdesk::Conversation::InlineImages',
'Import::Common::Model::Update',
'Import::Common::Model::Create',
'Import::Common::Model::Save',
'Import::Freshdesk::MapId',
'Import::Freshdesk::Conversation::Attachments',
]
end
end
end
end
end
end