Class: Zonesync::Memory

Inherits:
Provider
  • Object
show all
Defined in:
lib/zonesync/provider.rb

Instance Attribute Summary

Attributes inherited from Provider

#credentials

Instance Method Summary collapse

Methods inherited from Provider

#add, #change, #diffable_records, from, #remove

Instance Method Details

#readObject



53
54
55
# File 'lib/zonesync/provider.rb', line 53

def read
  credentials[:string]
end

#write(string) ⇒ Object



57
58
59
# File 'lib/zonesync/provider.rb', line 57

def write string
  credentials[:string] = string
end