Module: Avm::Git::Scms::Git::Commit::DeployMethods
- Defined in:
- lib/avm/git/scms/git/commit/deploy_methods.rb
Instance Method Summary collapse
Instance Method Details
#deploy_to_env_path(target_env, target_path) ⇒ Object
15 16 17 |
# File 'lib/avm/git/scms/git/commit/deploy_methods.rb', line 15 def deploy_to_env_path(target_env, target_path) ::Avm::Git::Scms::Git::Commit::Deploy.new(self, target_env, target_path) end |
#deploy_to_url(target_url) ⇒ Object
19 20 21 22 23 24 |
# File 'lib/avm/git/scms/git/commit/deploy_methods.rb', line 19 def deploy_to_url(target_url) ::Avm::Git::Scms::Git::Commit::Deploy.new( self, *::Avm::Git::Commit.target_url_to_env_path(target_url) ) end |