Sha256: a6ee3e63cbce437d96687e4a1d86c11919fab2b30df38d7a4cfe26f92e79d311

Contents?: true

Size: 397 Bytes

Versions: 3

Compression:

Stored size: 397 Bytes

Contents

require 'conjur/web_service'

module Conjur
  class API
    def create_web_service(id, service_gateway, adapter, options = {})
      standard_create Conjur::ServiceGateways::API.host, :web_service, id, options.merge(service_gateway_id: service_gateway, adapter: adapter)
    end
    
    def web_service id
      standard_show Conjur::ServiceGateways::API.host, :web_service, 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/web_services.rb
conjur-asset-service-gateway-api-0.5.3 lib/conjur/api/web_services.rb
conjur-asset-service-gateway-api-0.5.2 lib/conjur/api/web_services.rb