Sha256: ea03376ef015b9cdbcb2979b99a805fc7011d4078570a1f94c7f71b9cb472129

Contents?: true

Size: 285 Bytes

Versions: 6

Compression:

Stored size: 285 Bytes

Contents

module Cifrado
  class CLI
    desc "set-acl CONTAINER", 'Set an ACL on containers and objects'
    option :acl, :type => :string, :required => true
    def set_acl(container, object = nil)
      client = client_instance
      client.set_acl options[:acl], container
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cifrado-0.2.1 lib/cifrado/cli/set_acl.rb
cifrado-0.2.0 lib/cifrado/cli/set_acl.rb
cifrado-0.1.3 lib/cifrado/cli/set_acl.rb
cifrado-0.1.2 lib/cifrado/cli/set_acl.rb
cifrado-0.1.1 lib/cifrado/cli/set_acl.rb
cifrado-0.1 lib/cifrado/cli/set_acl.rb