From b3bedf7cb335cf2509a926ec3914a787a049bcad Mon Sep 17 00:00:00 2001
From: Balachandar Namasivayam <bnamasivayam@apple.com>
Date: Tue, 10 Dec 2019 13:27:54 -0800
Subject: [PATCH] Updated ruby binding for transaction options related to
 logging and also fixed a typo.

---
 documentation/sphinx/source/api-common.rst.inc | 2 +-
 documentation/sphinx/source/api-python.rst     | 2 +-
 documentation/sphinx/source/api-ruby.rst       | 8 ++++++++
 3 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/documentation/sphinx/source/api-common.rst.inc b/documentation/sphinx/source/api-common.rst.inc
index 854d8a5baf..c16242a211 100644
--- a/documentation/sphinx/source/api-common.rst.inc
+++ b/documentation/sphinx/source/api-common.rst.inc
@@ -441,7 +441,7 @@
 
     Sets the maximum escaped length of key and value fields to be logged to the trace file via the LOG_TRANSACTION option, after which the field will be truncated. A negative value disables truncation. One can set the default max field length for all transactions by calling |transaction-logging-max-field-length-database-option|.
 
-..  |option-set--debug-transaction-identifier| replace::
+..  |option-set-debug-transaction-identifier| replace::
 
     Sets a client provided identifier for the transaction that will be used in scenarios like tracing or profiling. Client trace logging or transaction profiling must be separately enabled.
 
diff --git a/documentation/sphinx/source/api-python.rst b/documentation/sphinx/source/api-python.rst
index 24bad9d318..12bfdc9683 100644
--- a/documentation/sphinx/source/api-python.rst
+++ b/documentation/sphinx/source/api-python.rst
@@ -883,7 +883,7 @@ Transaction options
 
 .. method:: Transaction.options.set_debug_transaction_identifier(identifier)
 
-    |option-set--debug-transaction-identifier|
+    |option-set-debug-transaction-identifier|
 
 .. method:: Transaction.options.set_log_transaction()
 
diff --git a/documentation/sphinx/source/api-ruby.rst b/documentation/sphinx/source/api-ruby.rst
index f033ae2e2e..eea052368b 100644
--- a/documentation/sphinx/source/api-ruby.rst
+++ b/documentation/sphinx/source/api-ruby.rst
@@ -823,6 +823,14 @@ Transaction options
 
     |option-set-transaction-logging-max-field-length-blurb|
 
+.. method:: Transaction.options.set_debug_transaction_identifier(identifier) -> nil
+
+    |option-set-debug-transaction-identifier|
+
+.. method:: Transaction.options.set_log_transaction() -> nil
+
+    |option-set-log-transaction|
+
 .. _transact:
 
 The transact method