Method: Licode::Client#get_services

Defined in:
lib/licode/client.rb

#get_servicesObject



98
99
100
101
102
103
104
105
106
# File 'lib/licode/client.rb', line 98

def get_services ()
  response = self.class.get('/services/',
  :headers => {
    "Authorization" => mauth_header,
    "Content-Type" => "application/json"
  })
rescue StandardError => e
  raise LicodeError, "Failed to connect to Licode. Response code: #{e.message}"
end