Class: Clouddns::ZoneMigration::Change::Create

Inherits:
None
  • Object
show all
Defined in:
lib/clouddns/zone_migration.rb

Instance Attribute Summary

Attributes inherited from None

#record

Instance Method Summary collapse

Methods inherited from None

#to_s

Instance Method Details

#perform!(fog_zone) ⇒ Object



13
14
15
# File 'lib/clouddns/zone_migration.rb', line 13

def perform! fog_zone
  fog_zone.records.create(:type => record.type, :name => record.name, :value => record.value, :ttl => record.ttl)
end


16
# File 'lib/clouddns/zone_migration.rb', line 16

def print_prefix; '+'; end