quanto-ruby 0.0.5 → 0.0.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a3222f5905f3b81cc43740bfaf97861646e26d99
4
- data.tar.gz: ee2fa4783a1dbc76859d372052245442105ed4ab
3
+ metadata.gz: 064e451574e1a43f8a2fed809f3bdbaf39fbc00d
4
+ data.tar.gz: 032e141fb24a45f1c6019528be54721e2103c5f4
5
5
  SHA512:
6
- metadata.gz: f2bd4731dd8597b59f25c97666a2be598efec8f8ceb832f2a871bef3bc5498492ba76484fd8d8920a987432734580bb7bb7c17d4fd0f9fd839c8c0bd28e61bb8
7
- data.tar.gz: 1de50a8d4c588faf94cf0ec223bf14a898b13916fee66b74a21996678ff6189ea57f9f429386f1b68e65eed0a6a7ea3babbc91234fbad14d2150b711160b4608
6
+ metadata.gz: 173cb32c46a889bdd8e47ce5c7bc7b6e8fd3812ae5050e2c115201dbd7591a0ef4437322a3518f295c64a4dcdbc933abc58de508ee0ee7d4cacfb7d23c45896a
7
+ data.tar.gz: eb10aad6f1b8365fe8ff975fbc633cbc35a19a16f47b0336115ff1c8686005058be06842947edfa6ae8966702590469192a0b2ac5041c85f400f1cef05307eb7
@@ -11,6 +11,14 @@ module Quanto
11
11
  post('/metrics', metric: metric)
12
12
  end
13
13
 
14
+ # Make a GET request for the URL for the authenticated plugin.
15
+ # Returns the plugin URL as a string.
16
+ def plugin_url
17
+ response = get('/plugin').body
18
+ attributes = JSON.parse(response)
19
+ attributes["url"]
20
+ end
21
+
14
22
  end
15
23
 
16
24
  end
@@ -1,3 +1,3 @@
1
1
  module Quanto
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quanto-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rasmus Rygaard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-16 00:00:00.000000000 Z
11
+ date: 2014-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2