# File lib/hammer_cli_import/importtools.rb, line 154 def publish_content_view(id, entity_type = :content_views) mapped_api_call entity_type, :publish, {:id => id} rescue => e warn "Publishing of #{to_singular(entity_type)} [#{id}] failed with #{e.class}: #{e.message}" end