Class: Ufo::Docker::State

Inherits:
Object
  • Object
show all
Extended by:
Memoist
Defined in:
lib/ufo/docker/state.rb,
lib/ufo/docker/state/s3.rb,
lib/ufo/docker/state/base.rb,
lib/ufo/docker/state/file.rb

Defined Under Namespace

Classes: Base, File, S3

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ State

Returns a new instance of State.



5
6
7
# File 'lib/ufo/docker/state.rb', line 5

def initialize(options={})
  @options = options
end

Instance Method Details

#readObject



13
14
15
# File 'lib/ufo/docker/state.rb', line 13

def read
  storage.read
end

#updateObject



9
10
11
# File 'lib/ufo/docker/state.rb', line 9

def update
  storage.update
end