Sha256: 5af78c80baada2fcf242a3a9321459cb72a4a7d029690ef281d2535d520f4c96

Contents?: true

Size: 652 Bytes

Versions: 1

Compression:

Stored size: 652 Bytes

Contents

# Adding Optionsful to the Rack middleware stack:
ActionController::Dispatcher.middleware.use Optionsful
ActionController::Dispatcher.middleware.use OptionsfulDocs


require 'rubygems'
require 'yard'
YARD::Templates::Engine.register_template_path File.dirname(__FILE__) + '/../templates'

# Define custom tags
YARD::Tags::Library.define_tag("URL for Service", :url)
YARD::Tags::Library.define_tag("Topic for Service", :topic)
YARD::Tags::Library.define_tag("Arguments", :argument, :with_types_and_name)
YARD::Tags::Library.define_tag("Example Responses", :example_response)
YARD::Tags::Library.define_tag("Response Fields", :response_field, :with_name)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
optionsful-0.1.5 rails/init.rb