Sha256: 39194d036ca58cdcd74d81f39efb46fe761d958d35b190b3a6f08c04b45d9b32

Contents?: true

Size: 463 Bytes

Versions: 3

Compression:

Stored size: 463 Bytes

Contents

require 'conjur/service_gateway'

module Conjur
  class API
    def create_service_gateway(id, options = {})
      standard_create Conjur::ServiceGateways::API.host, :service_gateway, id, options
    end
    
    def service_gateways(options = {})
      standard_list Conjur::ServiceGateways::API.host, :service_gateway, options
    end
    
    def service_gateway id
      standard_show Conjur::ServiceGateways::API.host, :service_gateway, id
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
conjur-asset-service-gateway-api-0.6.0 lib/conjur/api/service_gateways.rb
conjur-asset-service-gateway-api-0.5.3 lib/conjur/api/service_gateways.rb
conjur-asset-service-gateway-api-0.5.2 lib/conjur/api/service_gateways.rb