Sha256: 58c77491fe62768220a1c36a1b7fd782647e2be9f9f2346dcb6a3e5b6bbf2c84
Contents?: true
Size: 559 Bytes
Versions: 6
Compression:
Stored size: 559 Bytes
Contents
require_relative 'concerns/api_concern' require_relative 'concerns/deploy_file_concern' module Locomotive::Wagon class DestroyCommand < Struct.new(:env, :path, :options) include ApiConcern include DeployFileConcern def self.destroy(env, path, options) self.new(env, path, options).destroy end def destroy api_client = api_site_client(connection_information) api_client.current_site.destroy end private def connection_information read_deploy_settings(self.env, self.path) end end end
Version data entries
6 entries across 6 versions & 1 rubygems