Module: AcquiaCloudApi::Client::Deployments
- Included in:
- AcquiaCloudApi::Client
- Defined in:
- lib/acapi/client/deployments.rb
Instance Method Summary collapse
- #deploy_reference!(git_ref, to_env) ⇒ Object (also: #deploy!, #deploy_ref!)
Instance Method Details
#deploy_reference!(git_ref, to_env) ⇒ Object Also known as: deploy!, deploy_ref!
5 6 7 8 9 10 |
# File 'lib/acapi/client/deployments.rb', line 5 def deploy_reference!(git_ref, to_env) params = { :path => git_ref } post "sites/#{site_name}/envs/#{to_env}/code-deploy", params end |