Class: Mushikago::Mitsubachi::ProjectDeleteRequest

Inherits:
Http::DeleteRequest show all
Defined in:
lib/mushikago/mitsubachi/project_delete_request.rb

Instance Attribute Summary

Attributes inherited from Http::Request

#headers, #host, #params, #port

Instance Method Summary collapse

Methods inherited from Http::DeleteRequest

#http_method

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

#initialize(project_name, options = {}) ⇒ ProjectDeleteRequest

Returns a new instance of ProjectDeleteRequest.



9
10
11
12
13
# File 'lib/mushikago/mitsubachi/project_delete_request.rb', line 9

def initialize project_name, options={}
  super(options)
  self.project_name = project_name
  self.forcedelete = options[:forcedelete]
end

Instance Method Details

#pathObject



5
# File 'lib/mushikago/mitsubachi/project_delete_request.rb', line 5

def path; '/1/mitsubachi/project/delete' end