Class: Mushikago::Tombo::DeleteRequest
- Inherits:
-
Request
- Object
- Http::Request
- Request
- Mushikago::Tombo::DeleteRequest
- Defined in:
- lib/mushikago/tombo/delete_request.rb
Overview
Deleteリクエスト
Instance Attribute Summary
Attributes inherited from Http::Request
headers, host, http_method, params, path, port
Instance Method Summary (collapse)
-
- (DeleteRequest) initialize(id, options = {})
constructor
A new instance of DeleteRequest.
- - (Object) method_name
- - (Object) new_http_request
Methods included from Auth::Signature
#add_signature!, #string_to_sign
Methods inherited from Http::Request
add_param, #get_param, #set_param, #to_http_request, #url_encoded_params
Constructor Details
- (DeleteRequest) initialize(id, options = {})
A new instance of DeleteRequest
11 |
# File 'lib/mushikago/tombo/delete_request.rb', line 11 def initialize id, ={} |
Instance Method Details
- (Object) method_name
5 |
# File 'lib/mushikago/tombo/delete_request.rb', line 5 def method_name; 'delete.json' end |
- (Object) new_http_request
17 18 19 |
# File 'lib/mushikago/tombo/delete_request.rb', line 17 def new_http_request new_http_delete_request("#{path}?#{url_encoded_params}") end |