Sha256: 5f8bdac6ab524a76dba1d7f23f4612df3e1072103b7341b5759d715a10087ba3
Contents?: true
Size: 876 Bytes
Versions: 92
Compression:
Stored size: 876 Bytes
Contents
module ProxyAPI class ContainerGateway < ::ProxyAPI::Resource def initialize(args) @url = args[:url] + "/container_gateway" super args end def repository_list(args) # put '/v2/repository_list/?' @url += "/repository_list" parse put(args) rescue => e raise ::ProxyAPI::ProxyException.new(url, e, N_("Unable to update the repository list")) end def user_repository_mapping(args) # put '/v2/user_repository_mapping/?' @url += "/user_repository_mapping" parse put(args) rescue => e raise ::ProxyAPI::ProxyException.new(url, e, N_("Unable to update the user-repository mapping")) end def users # get '/v2/users/?' @url += "/users" @users = parse get rescue => e raise ::ProxyAPI::ProxyException.new(url, e, N_("Unable to get users")) end end end
Version data entries
92 entries across 92 versions & 1 rubygems