Sha256: 8c7da257d325ff49df2d98d262a89f4d603722458c4b0d7ea4d47fffc10e2f9e

Contents?: true

Size: 308 Bytes

Versions: 6

Compression:

Stored size: 308 Bytes

Contents

module Cifrado
  class CLI
    desc "post CONTAINER [DESCRIPTION]", "Create a container"
    def post(container, description = '')
      client = client_instance
      client.service.directories.create :key => container, 
                                        :description => description
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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