Method: Fog::DNS::DNSimple::Records#all

Defined in:
lib/fog/dns/models/dnsimple/records.rb

#allObject



14
15
16
17
18
19
# File 'lib/fog/dns/models/dnsimple/records.rb', line 14

def all
  requires :zone
  clear
  data = connection.list_records(zone.id).body.map {|record| record['record']}
  load(data)
end