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