Class: S3Secure::Encryption

Inherits:
Command show all
Defined in:
lib/s3_secure/encryption.rb,
lib/s3_secure/encryption/base.rb,
lib/s3_secure/encryption/list.rb,
lib/s3_secure/encryption/show.rb,
lib/s3_secure/encryption/enable.rb,
lib/s3_secure/encryption/disable.rb

Defined Under Namespace

Classes: Base, Disable, Enable, List, Show

Instance Method Summary collapse

Methods inherited from Command

alter_command_description, command_help, dispatch, exit_on_failure?, website

Instance Method Details

#disable(bucket) ⇒ Object



26
27
28
# File 'lib/s3_secure/encryption.rb', line 26

def disable(bucket)
  Disable.new(options.merge(bucket: bucket)).run
end

#enable(bucket) ⇒ Object



20
21
22
# File 'lib/s3_secure/encryption.rb', line 20

def enable(bucket)
  Enable.new(options.merge(bucket: bucket)).run
end

#listObject



7
8
9
# File 'lib/s3_secure/encryption.rb', line 7

def list
  List.new(options).run
end

#show(bucket) ⇒ Object



13
14
15
# File 'lib/s3_secure/encryption.rb', line 13

def show(bucket)
  Show.new(options.merge(bucket: bucket)).run
end