seatsio 46.3.0 → 46.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/seatsio/charts.rb +6 -0
- data/lib/seatsio/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3824265f4fa3503706d2ff540811ba800cb54a8bda20275a0a2e4fd60360fd20
|
4
|
+
data.tar.gz: cd98586c6f62d266bace0399071723ae264d5a3aa589fb5a9be652d96efb315e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2439c7565167efb750ea35d493b715ba6e37c15c5a779e633280f662dd825e5a87695abf51a1823e92f0d146618b054f3919267f6d718cf8a46f8a6045f8b458
|
7
|
+
data.tar.gz: 034706e48cd74fad51eff174bf05a4c3cb4447248583945adfe0f8d8d75a90963a253428b40fd1b07cae49eb682a730e9d0779fcea703228058a556446fc0ba1
|
data/Gemfile.lock
CHANGED
data/lib/seatsio/charts.rb
CHANGED
@@ -70,6 +70,12 @@ module Seatsio
|
|
70
70
|
Chart.new(response)
|
71
71
|
end
|
72
72
|
|
73
|
+
def copy_from_workspace_to(chart_key, from_workspace_key, to_workspace_key)
|
74
|
+
url = "charts/#{chart_key}/version/published/actions/copy/from/#{from_workspace_key}/to/#{to_workspace_key}"
|
75
|
+
response = @http_client.post url
|
76
|
+
Chart.new(response)
|
77
|
+
end
|
78
|
+
|
73
79
|
def copy_draft_version(key)
|
74
80
|
response = @http_client.post("charts/#{key}/version/draft/actions/copy")
|
75
81
|
Chart.new(response)
|
data/lib/seatsio/version.rb
CHANGED