Method: Cyclid::Client::Stage#stage_modify
- Defined in:
- lib/cyclid/client/stage.rb
#stage_modify(organization, stage) ⇒ Hash
Note:
Stages are immutable; this actually creates a new version of an existing stage.
Modify a stage.
72 73 74 75 76 77 78 |
# File 'lib/cyclid/client/stage.rb', line 72 def stage_modify(organization, stage) uri = server_uri("/organizations/#{organization}/stages") res_data = api_json_post(uri, stage) @logger.debug res_data return res_data end |