Class: Fog::DNS::Dreamhost

Inherits:
Service
  • Object
show all
Defined in:
lib/fog/dreamhost/dns.rb,
lib/fog/dreamhost/models/dns/zone.rb,
lib/fog/dreamhost/models/dns/zones.rb,
lib/fog/dreamhost/models/dns/record.rb,
lib/fog/dreamhost/models/dns/records.rb,
lib/fog/dreamhost/requests/dns/list_records.rb,
lib/fog/dreamhost/requests/dns/create_record.rb,
lib/fog/dreamhost/requests/dns/delete_record.rb

Defined Under Namespace

Classes: Mock, Real, Record, Records, Zone, Zones

Instance Method Summary collapse

Instance Method Details

#new(attributes = {}) ⇒ Object



28
29
30
31
# File 'lib/fog/dreamhost/models/dns/records.rb', line 28

def new(attributes = {})
  requires :zone
  super({ :zone => zone }.merge!(attributes))
end