screenbeacon 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/screenbeacon/test.rb +9 -0
- data/lib/screenbeacon/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: 6f16fa6f0077d7d63668baa9f569cbd3820557a3
|
4
|
+
data.tar.gz: 5051fcc394e169d7f919c012c2a1fd56f3a11df3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74caa83528fdf2e2e17b272fe0e88553ba780c53ee39a86eb333baff444cb95b68ff256aa8af48a06f86290c9105dcadc0048efd7611f18d2a527439b02b0a95
|
7
|
+
data.tar.gz: 94ad0023fa82349322353b3113046060fbb77c37f0aab34fb82142302bcbfc4b45063f720e9527e550b56430193092d30d61e2e843ea7cb0dec664caa3d5aca2
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
data/lib/screenbeacon/test.rb
CHANGED
@@ -5,6 +5,11 @@ module Screenbeacon
|
|
5
5
|
include Screenbeacon::APIOperations::Delete
|
6
6
|
include Screenbeacon::APIOperations::List
|
7
7
|
|
8
|
+
def resolve(opts={})
|
9
|
+
response, opts = request(:patch, resolve_url, {}, opts)
|
10
|
+
refresh_from(response, opts)
|
11
|
+
end
|
12
|
+
|
8
13
|
def run(opts={})
|
9
14
|
response, opts = request(:patch, run_url, {}, opts)
|
10
15
|
refresh_from(response, opts)
|
@@ -17,6 +22,10 @@ module Screenbeacon
|
|
17
22
|
|
18
23
|
private
|
19
24
|
|
25
|
+
def resolve_url
|
26
|
+
url + '/resolve'
|
27
|
+
end
|
28
|
+
|
20
29
|
def run_url
|
21
30
|
url + '/run'
|
22
31
|
end
|
data/lib/screenbeacon/version.rb
CHANGED