Class: CloudSync::Media::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/cloud_sync/media/base.rb

Direct Known Subclasses

Filesystem, Rackspace, S3

Instance Method Summary collapse

Instance Method Details

#exists?(path) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/cloud_sync/media/base.rb', line 5

def exists? path
  raise "#{self.class}.exists? not implemented"
end

#reader(path) ⇒ Object



13
14
15
# File 'lib/cloud_sync/media/base.rb', line 13

def reader path
  raise "#{self.class}.reader not implemented"
end

#writer(path) ⇒ Object



9
10
11
# File 'lib/cloud_sync/media/base.rb', line 9

def writer path
  raise "#{self.class}.writer not implemented"
end