Class: Mushikago::Tombo::DeleteRequest

Inherits:
Http::DeleteRequest show all
Defined in:
lib/mushikago/tombo/delete_request.rb

Overview

Deleteリクエスト

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(id, options = {}) ⇒ DeleteRequest

Returns a new instance of DeleteRequest.

Parameters:

  • id (String)

    画像のID

  • options (Hash) (defaults to: {})

    リクエストのオプション



12
13
14
15
# File 'lib/mushikago/tombo/delete_request.rb', line 12

def initialize id, options={}
  super(options)
  self.id = id
end

Instance Method Details

#pathObject



6
# File 'lib/mushikago/tombo/delete_request.rb', line 6

def path; '/1/tombo/delete' end