From d1e24a90c59df320bbba8c28e298147bd94a1a5f Mon Sep 17 00:00:00 2001 From: Kiall Mac Innes <kiall@hp.com> Date: Wed, 25 Sep 2013 15:16:35 +0100 Subject: [PATCH] Correct two Record examples in the binding docs Change-Id: I73df92ab161a3f6dacb196d827130de8f7ae8252 --- doc/source/bindings.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/bindings.rst b/doc/source/bindings.rst index b14cf7cb..c162bd2e 100644 --- a/doc/source/bindings.rst +++ b/doc/source/bindings.rst @@ -334,7 +334,7 @@ Updating a Record record.ttl = 300 # Send the Update Record API call - record = client.records.update(record) + record = client.records.update(domain_id, record) Deleting a Record ----------------- @@ -354,7 +354,7 @@ Deleting a Record record_id = 'bd3e8520-25e0-11e3-8224-0800200c9a66' # Fetch the record - records = client.records.delete(record_id) + records = client.records.delete(domain_id, record_id) Working with Servers ====================