Class | Apipie::Application |
In: |
lib/apipie/application.rb
|
Parent: | Object |
last_api_args | [RW] | |
last_description | [RW] | |
last_errors | [RW] | |
last_examples | [RW] | |
last_formats | [RW] | |
last_params | [RW] | |
last_see | [RW] | |
method_descriptions | [R] | |
resource_descriptions | [R] |
Is there a reason to interpret the DSL for this run? with specific setting for some environment there is no reason the dsl should be interpreted (e.g. no validations and doc from cache)
get api for given method
There are two ways how this method can be used: 1) Specify both parameters
resource_name: controller class or string with resource name (plural) method_name: name of the method (string or symbol)
2) Specify only first parameter:
resource_name: string containing both resource and method name joined with # (eg. "users#create")