Module: Ecfr::DefaultDocumentationSetup

Included in:
AdminService::ApiDocumentation, SearchService::ApiDocumentation, VersionerService::ApiDocumentation
Defined in:
lib/ecfr/default_documentation_setup.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



30
31
32
33
34
35
36
37
# File 'lib/ecfr/default_documentation_setup.rb', line 30

def self.included(base)
  base.instance_eval do
    attribute :description
    attribute :paths
  end

  base.extend(ClassMethods)
end