Class: Mushy::Delete
- Inherits:
-
HttpOperation
- Object
- Flux
- HttpOperation
- Mushy::Delete
- Defined in:
- lib/mushy/fluxs/delete.rb
Overview
A DELETE request.
Instance Attribute Summary
Attributes inherited from Flux
#config, #flow, #id, #masher, #parent_fluxs, #subscribed_to, #type
Class Method Summary collapse
Methods inherited from HttpOperation
operation, #operation, #process
Methods inherited from Flux
#convert_this_to_an_array, #convert_to_symbolized_hash, #execute, #execute_single_event, #group_these_results, #guard, #ignore_these_results, inherited, #initialize, #join_these_results, #limit_these_results, #merge_these_results, #model_these_results, #outgoing_split_these_results, #process, #shape_these, #sort_these_results, #standardize_these
Constructor Details
This class inherits a constructor from Mushy::Flux
Class Method Details
.details ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/mushy/fluxs/delete.rb', line 9 def self.details super.merge({ examples: { 'Successful Call' => { description: 'This will send a DELETE to an API endpoint.', config: { url: 'http://localhost:3000/api/v1/db/data/v1/people/1' }, result: { status: 200, url: 'http://localhost:3000/api/v1/db/data/v1/people/1', time: 0.11498799989931285, reason_phrase: 'OK', headers: { 'content-type' => 'application/json; charset=utf-8', 'content-length' => '1' }, body: '1' } } } }) end |