Sha256: fac0814e5fa24a71f463940461703d1e465f8457113b9bfee69316857afbd8f5
Contents?: true
Size: 480 Bytes
Versions: 27
Compression:
Stored size: 480 Bytes
Contents
require 'flydata/source/sync' module Flydata module SourceMysql class Sync < Source::Sync SOURCE_PREFERENCE_NAME = 'mysql_data_entry_preference' def setup super mp = de[SOURCE_PREFERENCE_NAME] unless mp['ssl_ca_content'].to_s.strip.empty? sync_fm = SyncFileManager.new(de) sync_fm.save_ssl_ca(mp['ssl_ca_content']) mp['ssl_ca'] = sync_fm.ssl_ca_path mp['sslca'] = mp['ssl_ca'] end end def supported? true end end end end
Version data entries
27 entries across 27 versions & 1 rubygems