Class: Zonesync::Filesystem
- Defined in:
- lib/zonesync/provider.rb
Instance Attribute Summary
Attributes inherited from Provider
Instance Method Summary collapse
Methods inherited from Provider
#add, #change, #diffable_records, from, #remove
Instance Method Details
#read ⇒ Object
63 64 65 |
# File 'lib/zonesync/provider.rb', line 63 def read File.read(credentials[:path]) end |
#write(string) ⇒ Object
67 68 69 |
# File 'lib/zonesync/provider.rb', line 67 def write string File.write(credentials[:path], string) end |