Class: Brief::Server::Handlers::Aggregator

Inherits:
Object
  • Object
show all
Defined in:
lib/brief/server/handlers/aggregator.rb

Class Method Summary collapse

Class Method Details

.handle(path, briefcase, options = {}) ⇒ Object



3
4
5
# File 'lib/brief/server/handlers/aggregator.rb', line 3

def self.handle(path, briefcase, options={})
  [200, {"Content-Type"=>"application/json"}, briefcase.send(path)]
end