Sha256: bb83357a6a38fd24b141c6ab3f5c409964238f12622c186b7b70ed336588bd25

Contents?: true

Size: 392 Bytes

Versions: 2

Compression:

Stored size: 392 Bytes

Contents

require 'conjur/deployment'

module Conjur
  class API
    def create_deployment(id, options = {})
      standard_create Conjur::Dep::API.host, :deployment, id, options
    end
    
    def deployments(options = {})
      standard_list Conjur::Dep::API.host, :deployment, options
    end
    
    def deployment id
      standard_show Conjur::Dep::API.host, :deployment, id
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
conjur-asset-deployment-api-0.2.2 lib/conjur/api/deployments.rb
conjur-asset-deployment-api-0.2.1 lib/conjur/api/deployments.rb