Class: ApidocoDsl::Api
- Inherits:
-
Object
- Object
- ApidocoDsl::Api
- Defined in:
- lib/apidoco_dsl/api.rb
Instance Attribute Summary collapse
-
#api_docs ⇒ Object
Returns the value of attribute api_docs.
-
#namespace ⇒ Object
Returns the value of attribute namespace.
-
#param_groups ⇒ Object
Returns the value of attribute param_groups.
-
#resource ⇒ Object
Returns the value of attribute resource.
Instance Method Summary collapse
-
#initialize ⇒ Api
constructor
A new instance of Api.
Constructor Details
#initialize ⇒ Api
Returns a new instance of Api.
5 6 7 8 |
# File 'lib/apidoco_dsl/api.rb', line 5 def initialize @api_docs = [] @param_groups = {} end |
Instance Attribute Details
#api_docs ⇒ Object
Returns the value of attribute api_docs.
3 4 5 |
# File 'lib/apidoco_dsl/api.rb', line 3 def api_docs @api_docs end |
#namespace ⇒ Object
Returns the value of attribute namespace.
3 4 5 |
# File 'lib/apidoco_dsl/api.rb', line 3 def namespace @namespace end |
#param_groups ⇒ Object
Returns the value of attribute param_groups.
3 4 5 |
# File 'lib/apidoco_dsl/api.rb', line 3 def param_groups @param_groups end |
#resource ⇒ Object
Returns the value of attribute resource.
3 4 5 |
# File 'lib/apidoco_dsl/api.rb', line 3 def resource @resource end |