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, website
Instance Method Details
#disable(bucket) ⇒ Object
24
25
26
|
# File 'lib/s3_secure/encryption.rb', line 24
def disable(bucket)
Disable.new(options.merge(bucket: bucket)).run
end
|
#enable(bucket) ⇒ Object
18
19
20
|
# File 'lib/s3_secure/encryption.rb', line 18
def enable(bucket)
Enable.new(options.merge(bucket: bucket)).run
end
|
#list ⇒ Object
5
6
7
|
# File 'lib/s3_secure/encryption.rb', line 5
def list
List.new(options).run
end
|
#show(bucket) ⇒ Object
11
12
13
|
# File 'lib/s3_secure/encryption.rb', line 11
def show(bucket)
Show.new(options.merge(bucket: bucket)).run
end
|