trabajo-afectivo/lib/sequencer/unit/import/zendesk/user/image_source.rb

23 lines
427 B
Ruby
Raw Normal View History

# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
class Sequencer
class Unit
module Import
module Zendesk
module User
class ImageSource < Sequencer::Unit::Common::Provider::Named
uses :resource
private
def image_source
resource&.photo&.content_url
end
end
end
end
end
end
end