Class: ApiDoc::OptionsResource
Constant Summary
Constants inherited from Resource
Instance Attribute Summary
Attributes inherited from Resource
#accept, #after_blocks, #before_blocks, #content_type, #desc, #method, #params, #path
Instance Method Summary collapse
-
#initialize(runner, path, &block) ⇒ OptionsResource
constructor
A new instance of OptionsResource.
Methods inherited from Resource
#app, #filtered_params, #formatted_params, #formatted_response, #interpolated_path, #make_request, #path_captures, #response_body, #run
Constructor Details
#initialize(runner, path, &block) ⇒ OptionsResource
Returns a new instance of OptionsResource.
269 270 271 272 |
# File 'lib/apidoc.rb', line 269 def initialize(runner, path, &block) super runner, path, &block @method = 'OPTIONS' end |