Class: ApiDoc::DeleteResource

Inherits:
Resource
  • Object
show all
Defined in:
lib/apidoc.rb

Constant Summary

Constants inherited from Resource

Resource::PATH_CAPTURE_REGEXP

Instance Attribute Summary

Attributes inherited from Resource

#accept, #after_blocks, #before_blocks, #content_type, #desc, #method, #params, #path

Instance Method Summary collapse

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) ⇒ DeleteResource

Returns a new instance of DeleteResource.



262
263
264
265
# File 'lib/apidoc.rb', line 262

def initialize(runner, path, &block)
  super runner, path, &block
  @method = 'DELETE'
end