Method: Dnsimple::Client::Tlds#all_tlds
- Defined in:
- lib/dnsimple/client/tlds.rb
#all_tlds(options = {}) ⇒ Dnsimple::CollectionResponse<Dnsimple::Struct::Tld>
Lists ALL the TLDs in DNSimple.
This method is similar to Dnsimple::Client#tlds, but instead of returning the results of a specific page it iterates all the pages and returns the entire collection.
Please use this method carefully, as fetching the entire collection will increase the number of requests you send to the API server and you may eventually risk to hit the throttle limit.
53 54 55 |
# File 'lib/dnsimple/client/tlds.rb', line 53 def all_tlds( = {}) paginate(:list_tlds, ) end |