Class: Clouddns::ZoneMigration::Change::None

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

Direct Known Subclasses

Create, Remove

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#recordObject

Returns the value of attribute record

Returns:

  • (Object)

    the current value of record



4
5
6
# File 'lib/clouddns/zone_migration.rb', line 4

def record
  @record
end

Instance Method Details

#perform!(fog_zone) ⇒ Object



5
6
# File 'lib/clouddns/zone_migration.rb', line 5

def perform! fog_zone
end


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

def print_prefix; ' '; end

#to_s(length = 30) ⇒ Object



8
9
10
# File 'lib/clouddns/zone_migration.rb', line 8

def to_s length=30
  Utils::format_record record, :prefix => print_prefix, :namelength => length
end