Skip to content

Commit

Permalink
Added a debug endpoint to the API.
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Redpath committed Jan 18, 2011
1 parent 6a76148 commit f779a9f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/mimic/api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ def host
[200, {}, "OK"]
end

get "/debug" do
[200, {}, self.host.inspect]
end

private

class APIRequest
Expand Down

0 comments on commit f779a9f

Please sign in to comment.