mustard_client 0.1.56 → 0.1.57
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/MustardClient/executions.rb +12 -0
- data/lib/MustardClient/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db1cb9ef5afda16ae4920078e81d1886ec078d1f
|
4
|
+
data.tar.gz: 26d7c9aef8e2ad161c2e9209584ade72affc55af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af7fd23849eca6e5330f66212e3b7ac5ec474d277c690cc5729edec06a9df55d5ace4dfe57da34938dd9ab85727f327635f970b2d9af846ef04e2d64f51bb856
|
7
|
+
data.tar.gz: 26d9d0e00da6ccf80d8c4413ac1384cea8b085071ec0580808bcaad1895df479caf24ca265e257dc552a16ea03c5a424c1619b836a8003a0d2f3e38c81c9a7d5
|
@@ -114,6 +114,18 @@ module MustardClient
|
|
114
114
|
|
115
115
|
end
|
116
116
|
|
117
|
+
def update execution_id, execution_params
|
118
|
+
|
119
|
+
command = {}
|
120
|
+
command[:method] = :put
|
121
|
+
command[:route] = @mustard_url + "/executions/#{execution_id}"
|
122
|
+
command[:headers] = {'User-Token' => @user_token}
|
123
|
+
command[:params] = {execution: execution_params}
|
124
|
+
|
125
|
+
execute(command)
|
126
|
+
|
127
|
+
end
|
128
|
+
|
117
129
|
|
118
130
|
def close execution_id: nil, project_key: nil, new_execution_params: nil
|
119
131
|
|