Class: RackCommitStats::App

Inherits:
Object
  • Object
show all
Defined in:
lib/rack-commit-stats/app.rb

Class Method Summary collapse

Class Method Details

.call(env) ⇒ Object



5
6
7
8
9
10
# File 'lib/rack-commit-stats/app.rb', line 5

def self.call(env)
  status = 200
  headers = {"Content-Type" => "application/json"}

  [status, headers, [response]]
end