Class: EasyApiDoc::Resource
- Inherits:
-
Object
- Object
- EasyApiDoc::Resource
show all
- Includes:
- Configurable
- Defined in:
- app/models/easy_api_doc/resource.rb
Instance Method Summary
collapse
#[], #[]=, #defaults, included, #inherited_overridable, #initialize, #load_children
Instance Method Details
#actions ⇒ Object
9
10
11
|
# File 'app/models/easy_api_doc/resource.rb', line 9
def actions
@actions ||= load_children(EasyApiDoc::Action, 'actions')
end
|
#authentication ⇒ Object
13
14
15
|
# File 'app/models/easy_api_doc/resource.rb', line 13
def authentication
@authentication ||= inherited_overridable('authentication', :from => ['resource', 'namespace', 'apiversion'])
end
|
5
6
7
|
# File 'app/models/easy_api_doc/resource.rb', line 5
def formats
inherited_overridable('formats', :from => ['namespace'])
end
|