Class: Wrest::Native::Delete
- Inherits:
-
Request
- Object
- Request
- Wrest::Native::Delete
- Defined in:
- lib/wrest/native/delete.rb
Instance Attribute Summary
Attributes inherited from Request
#body, #ca_path, #cache_store, #connection, #follow_redirects, #follow_redirects_count, #follow_redirects_limit, #headers, #http_request, #options, #parameters, #password, #timeout, #uri, #username, #verify_mode
Instance Method Summary (collapse)
-
- (Delete) initialize(wrest_uri, parameters = {}, headers = {}, options = {})
constructor
A new instance of Delete.
Methods inherited from Request
#build_request, #do_request, #execute_callback_if_any, #invoke
Constructor Details
- (Delete) initialize(wrest_uri, parameters = {}, headers = {}, options = {})
A new instance of Delete
12 13 14 15 16 17 18 19 20 21 |
# File 'lib/wrest/native/delete.rb', line 12 def initialize(wrest_uri, parameters = {}, headers = {}, = {}) super( wrest_uri, Net::HTTP::Delete, parameters, nil, headers, ) end |