Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
add getting dns records
Browse files Browse the repository at this point in the history
  • Loading branch information
fawaf committed Feb 10, 2015
1 parent dcbc9a8 commit 0dee0ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions cloudflare_v4/zones/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from .. import util
from . import dns_records

ENDPOINT = 'zones'

Expand Down
6 changes: 6 additions & 0 deletions cloudflare_v4/zones/dns_records.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from .. import util

ENDPOINT = 'dns_records'

def get(auth, params=None):
util.call(auth, 'GET', 'zones/' + params + '/' + ENDPOINT)

0 comments on commit 0dee0ba

Please sign in to comment.