turbot-api 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/turbot_api/api.rb +6 -2
- data/lib/turbot_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MTNjN2VmZjIwMmExYjQzZTUxMmZkZDYxNWU1NzYwNDc3NDg5NTU5OQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTc1MGEzMGQzM2RjZmU3YzFmNjU4N2EyMmM4MGM4YmZhOGE4NWI5Zg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NDNkMDZlZWM0M2Q1Yjc1OTA3OTk4ZGU4YTBjMTk1MGE5N2JlODZiZGNhM2Ex
|
10
|
+
ODgwODYyNGI1ZWQxM2I5OTVlZTk0ZTUzNjBiOWM2MzNhMDEzYzMwN2VjNzFj
|
11
|
+
NzNkZjJmOWI1ODFlZWE0YWFhMjJhMDUzZWUwZDhkNTljYmFlZTk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
M2EwYzhjNTM0NGI1MGYzZjM4ZmNkNjI2NGE1Y2NjMjZlMWI2OGM3MTM1N2Yx
|
14
|
+
ZWZlNTczZWY4NTM2ZmM1ODM0ZmU0YTg5YzRhMGY3MTMwNTI0ZTY1ZmI3NGVj
|
15
|
+
OWM5MjM1ODY5YmI0MDhiZTEzOTNlM2NkNDQxYzM1Y2NhZWExYTY=
|
data/lib/turbot_api/api.rb
CHANGED
@@ -45,8 +45,12 @@ module Turbot
|
|
45
45
|
request(:post, "/api/bots", :bot => {:bot_id => bot_id, :config => config})
|
46
46
|
end
|
47
47
|
|
48
|
-
def
|
49
|
-
request(:
|
48
|
+
def create_draft_data(bot_id, config, batch)
|
49
|
+
request(:post, "/api/bots/#{bot_id}/draft_data", :config => config, :batch => batch)
|
50
|
+
end
|
51
|
+
|
52
|
+
def destroy_draft_data(bot_id)
|
53
|
+
request(:delete, "/api/bots/#{bot_id}/draft_data")
|
50
54
|
end
|
51
55
|
|
52
56
|
def update_code(bot_id, archive)
|
data/lib/turbot_api/version.rb
CHANGED