Class: Hyrb::Commands::Rackspace

Inherits:
Hyrb::Command show all
Defined in:
lib/hyrb/commands/rackspace.rb

Instance Method Summary collapse

Methods inherited from Hyrb::Command

subc

Instance Method Details

#create_dns_record(project = nil, environment = nil) ⇒ Object



5
6
7
8
# File 'lib/hyrb/commands/rackspace.rb', line 5

def create_dns_record(project = nil, environment = nil)
  env = { project_name: project, environment_name: environment }
  pipeline(Hyrb::Tasks::Rackspace::CreateDNSRecord, env)
end