Sage/grape_documenter

View on GitHub
lib/grape_documenter/namespace_doc.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
module GrapeDocumenter
  # Namespace
  class NamespaceDoc
    attr_reader :title, :routes, :root_path, :version, :resources

    def initialize(options = {})
      @title = options[:title]
      @routes = options[:routes]
      @root_path = options[:root_path]
      @version = options[:version]
      @resources = options[:resources]
    end
  end
end