Class: Overture::HttpApi::Server

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/overture/http_api/server.rb

Constant Summary collapse

MIME_TYPE =
'application/vnd.api+json'

Instance Method Summary collapse

Instance Method Details

#notify_error(error) ⇒ Object



14
15
16
# File 'lib/overture/http_api/server.rb', line 14

def notify_error(error)
  puts "[ERROR] #{error.inspect}"
end