class Comet::MySQLConnection
def to_hash
-
(Hash)
- The complete object as a Ruby hash
def to_hash ret = {} ret['Host'] = @host ret['Port'] = @port ret['Username'] = @username ret['Password'] = @password ret['UseTLS'] = @use_tls ret['TLSSkipVerify'] = @tlsskip_verify ret['TLSCustomServerCAPath'] = @tlscustom_server_capath ret['TLSCustomClientCrtPath'] = @tlscustom_client_crt_path ret['TLSCustomClientKeyPath'] = @tlscustom_client_key_path @unknown_json_fields.each do |k, v| ret[k] = v end ret end