Sha256: 2a910c8e5e87acfeb433da3980f6b410471fbda06b07ab217059f4ba4dcda992
Contents?: true
Size: 734 Bytes
Versions: 2
Compression:
Stored size: 734 Bytes
Contents
module Attached module Storage class FS < Base # Create a new file system storage interface supporting save and destroy operations. # # Usage: # # FS.new() def initialize(credentials = nil) credentials = parse(credentials) end # Save a file to a given path on a file system. # # Parameters: # # * file - The file to save. # * path - The path to save. def save(file, path) end # Destroy a file at a given path on a file system. # # Parameters: # # * path - The path to destroy. def destroy(path) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
attached-0.0.2 | lib/attached/storage/fs.rb |
attached-0.0.1 | lib/attached/storage/fs.rb |