Class: Record

Inherits:
ActiveResource::Base
  • Object
show all
Defined in:
lib/record.rb,
lib/slicehost-dns.rb

Instance Method Summary collapse

Instance Method Details

#destroyObject



64
65
66
# File 'lib/slicehost-dns.rb', line 64

def destroy
  $LOG.info("~> dry destroying record #{kind} #{name}: #{data}")
end

#kindObject



3
4
5
# File 'lib/record.rb', line 3

def kind
  record_type.downcase
end

#saveObject



61
62
63
# File 'lib/slicehost-dns.rb', line 61

def save
  $LOG.info("~> dry saving record #{kind} #{name}: #{data}")
end