Class: Rustic::CommandBuilders::Snapshots

Inherits:
Object
  • Object
show all
Defined in:
lib/rustic/command_builders/snapshots.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_config) ⇒ Snapshots

Returns a new instance of Snapshots.



6
# File 'lib/rustic/command_builders/snapshots.rb', line 6

def initialize(_config) = nil

Instance Attribute Details

#configObject (readonly)

Returns the value of attribute config.



4
5
6
# File 'lib/rustic/command_builders/snapshots.rb', line 4

def config
  @config
end

Instance Method Details

#buildObject



8
9
10
# File 'lib/rustic/command_builders/snapshots.rb', line 8

def build
  ["snapshots"]
end