# File lib/fog/dnsmadeeasy/models/dns/records.rb, line 12 def all requires :zone data = service.list_records(zone.identity).body load(data) end
# File lib/fog/dnsmadeeasy/models/dns/records.rb, line 18 def get(record_id) data = service.get_record(zone.identity, record_id).body new(data) rescue Fog::Service::NotFound nil end
# File lib/fog/dnsmadeeasy/models/dns/records.rb, line 25 def new(attributes = {}) requires :zone super({ :zone => zone }.merge!(attributes)) end