Class: PlatformosCheck::Storage

Inherits:
Object
  • Object
show all
Defined in:
lib/platformos_check/storage.rb

Direct Known Subclasses

FileSystemStorage, InMemoryStorage

Instance Method Summary collapse

Instance Method Details

#filesObject

Raises:

  • (NotImplementedError)


17
18
19
# File 'lib/platformos_check/storage.rb', line 17

def files
  raise NotImplementedError
end

#path(relative_path) ⇒ Object

Raises:

  • (NotImplementedError)


5
6
7
# File 'lib/platformos_check/storage.rb', line 5

def path(relative_path)
  raise NotImplementedError
end

#platformos_appObject



21
22
23
# File 'lib/platformos_check/storage.rb', line 21

def platformos_app
  @platformos_app ||= PlatformosCheck::App.new(self)
end

#read(relative_path) ⇒ Object

Raises:

  • (NotImplementedError)


9
10
11
# File 'lib/platformos_check/storage.rb', line 9

def read(relative_path)
  raise NotImplementedError
end

#versioned?Boolean

Returns:

  • (Boolean)


25
26
27
# File 'lib/platformos_check/storage.rb', line 25

def versioned?
  false
end

#write(relative_path, content) ⇒ Object

Raises:

  • (NotImplementedError)


13
14
15
# File 'lib/platformos_check/storage.rb', line 13

def write(relative_path, content)
  raise NotImplementedError
end