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



51
52
53
# File 'lib/zonesync/provider.rb', line 51

def read
  credentials[:string]
end

#write(string) ⇒ Object



55
56
57
# File 'lib/zonesync/provider.rb', line 55

def write string
  credentials[:string] = string
end