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
61 62 63 |
# File 'lib/zonesync/provider.rb', line 61 def read File.read(credentials[:path]) end |
#write(string) ⇒ Object
65 66 67 |
# File 'lib/zonesync/provider.rb', line 65 def write string File.write(credentials[:path], string) end |