# File lib/documentation.rb, line 25 def initialize(api, opts={}) @description, @api = opts[:description], api @params = parse_parameters(opts[:params]) if opts[:params] @collection_operations = opts[:operations] if opts[:operations] @collection = opts[:collection] @operation = opts[:operation] self end