Method: Service::RegistryApi#get

Defined in:
app/models/service/registry_api.rb

#get(path, params = nil) ⇒ Object



24
25
26
27
28
29
# File 'app/models/service/registry_api.rb', line 24

def get(path, params = nil)
  response = connection.get('/'.freeze, params,
                            connection.options.merge({ path: "#{path}" }))
  response = parse_json(response)
  response
end