Class: ApidocoDsl::Api

Inherits:
Object
  • Object
show all
Defined in:
lib/apidoco_dsl/api.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeApi

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_docsObject

Returns the value of attribute api_docs.



3
4
5
# File 'lib/apidoco_dsl/api.rb', line 3

def api_docs
  @api_docs
end

#namespaceObject

Returns the value of attribute namespace.



3
4
5
# File 'lib/apidoco_dsl/api.rb', line 3

def namespace
  @namespace
end

#param_groupsObject

Returns the value of attribute param_groups.



3
4
5
# File 'lib/apidoco_dsl/api.rb', line 3

def param_groups
  @param_groups
end

#resourceObject

Returns the value of attribute resource.



3
4
5
# File 'lib/apidoco_dsl/api.rb', line 3

def resource
  @resource
end