class Fog::DNS::DNSMadeEasy::Records
Public Instance Methods
all()
click to toggle source
# File lib/fog/dnsmadeeasy/models/dns/records.rb, line 12 def all requires :zone data = service.list_records(zone.identity).body load(data) end
get(record_id)
click to toggle source
# 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
new(attributes = {})
click to toggle source
Calls superclass method
# File lib/fog/dnsmadeeasy/models/dns/records.rb, line 25 def new(attributes = {}) requires :zone super({ :zone => zone }.merge!(attributes)) end