Sha256: f031f2738cb9ea7d44e4a4480deb89ae55e92226a7ef1f9588be6a1618f616bf

Contents?: true

Size: 516 Bytes

Versions: 5

Compression:

Stored size: 516 Bytes

Contents

# -*- coding: utf-8 -*-
module Mushikago
  module Mitsubachi
    class ScriptDeleteRequest < Request
      def method_name; 'script/delete' end
      request_parameter :project_name
      request_parameter :script_name

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

      def new_http_request
        new_http_delete_request("#{path}?#{url_encoded_params}")
      end
    end
  end
end



Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mushikago-sdk-0.3.6 lib/mushikago/mitsubachi/script_delete_request.rb
mushikago-sdk-0.3.5 lib/mushikago/mitsubachi/script_delete_request.rb
mushikago-sdk-0.3.4 lib/mushikago/mitsubachi/script_delete_request.rb
mushikago-sdk-0.3.2 lib/mushikago/mitsubachi/script_delete_request.rb
mushikago-sdk-0.3.1 lib/mushikago/mitsubachi/script_delete_request.rb