Module: Avm::Git::Commit::DeployMethods

Defined in:
lib/avm/git/commit/deploy_methods.rb

Instance Method Summary collapse

Instance Method Details

#deploy_to_env_path(target_env, target_path) ⇒ Object



9
10
11
# File 'lib/avm/git/commit/deploy_methods.rb', line 9

def deploy_to_env_path(target_env, target_path)
  Deploy.new(self, target_env, target_path)
end

#deploy_to_url(target_url) ⇒ Object



13
14
15
# File 'lib/avm/git/commit/deploy_methods.rb', line 13

def deploy_to_url(target_url)
  Deploy.new(self, *self.class.target_url_to_env_path(target_url))
end