class DockerCloud::RegistryAPI
Constants
- TYPE
Public Instance Methods
all(params = {})
click to toggle source
# File lib/docker_cloud/api/registry_api.rb, line 9 def all(params = {}) response = http_get(resource_url, params) format_object(response, TYPE) end
get(host)
click to toggle source
# File lib/docker_cloud/api/registry_api.rb, line 14 def get(host) response = http_get(resource_url(host)) format_object(response, TYPE) end
resource_url(host = '')
click to toggle source
# File lib/docker_cloud/api/registry_api.rb, line 5 def resource_url(host = '') "/registry/#{host}" end