Sha256: 84ecf2f58388c94a779b03cf63d78060c3397e712ba2cbd8eb33f155f4e24fae
Contents?: true
Size: 487 Bytes
Versions: 4
Compression:
Stored size: 487 Bytes
Contents
module Mushikago module Tombo # Deleteリクエスト class DeleteRequest < Request def method_name; 'delete.json' end add_param :id # @param [String] id 画像のID # @param [Hash] options リクエストのオプション def initialize id, options={} super(options) self.id = id end # @private def new_http_request Net::HTTP::Delete.new("#{path}?#{url_encoded_params}") end end end end
Version data entries
4 entries across 4 versions & 1 rubygems