quanto-ruby 0.0.12 → 0.0.13

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: 44c515aedebf4cece1174f3f0413c356eb3666a7
4
- data.tar.gz: d7dbc4e8aa86f95c6d21314197002e58f47e11fd
3
+ metadata.gz: cb3e0089a8dd510b1a38fd1d7410052ea07792ac
4
+ data.tar.gz: a1f74cf0bc0543b489f1c309e853c78b5cc8c392
5
5
  SHA512:
6
- metadata.gz: fb59b7b079a202bd173d9d7c9e3211b8c5122295e3d91deb3dadc7ff4469d28b5eed15f9484eb5d47bed8f89673d74d80c6c8469ed31595536b2859c30f47326
7
- data.tar.gz: 3652fef7aff99edba99f5beb5b1f838459588090cc438a60b9c0bff993cf66c3243e6bcdab679cee9eaed46fc3143c44e82c6963a4a050b153593127ce036af2
6
+ metadata.gz: 29cc7b1be43d820c0fca381d98411518cbb02a13483930389be5f140c2930b64740377b2b7d5f03d5645a76ef4c7092db5666a1376e212d94bd62dd68d78e01e
7
+ data.tar.gz: 28edec9beff4e2b03f7cc59acdd3695c64dc421e4c8bf21ebd5696ba03870f0f66285f2b20821c43efdaca06f09a326ac364fd9fc311f99fd65392cc3f1697f6
@@ -18,6 +18,14 @@ module Quanto
18
18
  attributes["url"]
19
19
  end
20
20
 
21
+ # Activate the current plugin.
22
+ # This should only be done once credentials have been obtained.
23
+ # Returns the url for the current plugin.
24
+ def activate_plugin
25
+ attributes = post('/activations')
26
+ attributes["url"]
27
+ end
28
+
21
29
  def metrics
22
30
  get('/plugin/metrics')
23
31
  end
@@ -1,3 +1,3 @@
1
1
  module Quanto
2
- VERSION = "0.0.12"
2
+ VERSION = "0.0.13"
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.12
4
+ version: 0.0.13
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-03-12 00:00:00.000000000 Z
11
+ date: 2014-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2