Class: EasyApiDoc::Namespace

Inherits:
Object
  • Object
show all
Includes:
Configurable
Defined in:
app/models/easy_api_doc/namespace.rb

Instance Method Summary collapse

Methods included from Configurable

#[], #[]=, #defaults, included, #inherited_overridable, #initialize, #load_children

Instance Method Details

#authenticationObject



9
10
11
# File 'app/models/easy_api_doc/namespace.rb', line 9

def authentication
  @authentication ||= inherited_overridable('authentication', :from => ['resource', 'namespace', 'apiversion'])
end

#resourcesObject



5
6
7
# File 'app/models/easy_api_doc/namespace.rb', line 5

def resources
  @resources ||= load_children(EasyApiDoc::Resource, 'resources')
end