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

Methods inherited from Service

coerce_options, collection, collections, fetch_credentials, inherited, mocked_requests, model, model_path, models, new, recognized, recognizes, request, request_path, requests, requirements, requires, secrets, setup_requirements, validate_options

Instance Method Details

#new(attributes = {}) ⇒ Object



31
32
33
34
# File 'lib/fog/dreamhost/models/dns/records.rb', line 31

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