Class: Mushikago::Mitsubachi::ProjectDeleteRequest
- Inherits:
-
Request
- Object
- Http::Request
- Request
- Mushikago::Mitsubachi::ProjectDeleteRequest
- Defined in:
- lib/mushikago/mitsubachi/project_delete_request.rb
Instance Attribute Summary
Attributes inherited from Http::Request
headers, host, http_method, params, path, port
Instance Method Summary (collapse)
-
- (ProjectDeleteRequest) initialize(project_name, options = {})
constructor
A new instance of ProjectDeleteRequest.
- - (Object) method_name
- - (Object) new_http_request
Methods included from Auth::Signature
#add_signature!, #string_to_sign
Methods inherited from Http::Request
#[], #[]=, add_param, #to_http_request, #url_encoded_params
Constructor Details
- (ProjectDeleteRequest) initialize(project_name, options = {})
A new instance of ProjectDeleteRequest
9 10 11 12 13 |
# File 'lib/mushikago/mitsubachi/project_delete_request.rb', line 9 def initialize project_name, ={} super() self.project_name = project_name self.forcedelete = [:forcedelete] end |
Instance Method Details
- (Object) method_name
5 |
# File 'lib/mushikago/mitsubachi/project_delete_request.rb', line 5 def method_name; 'project/delete' end |
- (Object) new_http_request
15 16 17 |
# File 'lib/mushikago/mitsubachi/project_delete_request.rb', line 15 def new_http_request new_http_delete_request("#{path}?#{url_encoded_params}") end |