# File lib/sinatra/rabbit.rb, line 71 def generate_documentation coll, oper = @collection, self ::Sinatra::Application.get("/api/docs/#{@collection.name}/#{@name}") do @collection, @operation = coll, oper @features = driver.features_for_operation(coll.name, oper.name) respond_to do |format| format.html { haml 'docs/operation''docs/operation' } format.xml { haml 'docs/operation''docs/operation' } end end end