closeio 2.4.12 → 2.4.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 23bbaa13a99cf4fbc16aa5e50a79c2728457775b
4
- data.tar.gz: f3e3c0ccd5e094c9dd0ce00d62411496ddefc4a8
3
+ metadata.gz: b6efa6f6ac548b07aad6d17a53d2068e5c5e93dc
4
+ data.tar.gz: 9b0532390af62a4e2a86dacc24e872a784794dd0
5
5
  SHA512:
6
- metadata.gz: 417e19939feefa4e9e66f5cf5ce1f9c96a8653b6e6c2055810859b75f2695c837ab53807e5e27688cd29b23ed24a14bf44ac927ffa41e7fd33ea149c08003182
7
- data.tar.gz: b40ba88c80930f822b0cf2cad6238a0375b252639f52c875aebbce0cd254d3f5a3174b370451c2335832845786cb376d53a80a6be06b1d1240e55bb9bbf7530a
6
+ metadata.gz: 6126a0d0617f0010b017476a7f49f64aa3b163e1c073ce034babd81b9a1d265ea30400d8a07940494dc780cd3064b323b9bb5bc8a6555efb9e4f47aea2ac665e
7
+ data.tar.gz: 3da316d60328f4cb17d3a77eb660730631ab8eb9754ee56c853ebb8ee2c0e5553e8b330508dfcef69e2fec74724c84a2f7fc29d1491637631dd3c66a47c84826
@@ -24,8 +24,8 @@ module Closeio
24
24
  attr_reader :api_key, :logger, :ca_file
25
25
 
26
26
  def initialize(api_key, logger = true, ca_file = nil)
27
- @api_key = api_key
28
- @logger = logger
27
+ @api_key = api_key
28
+ @logger = logger
29
29
  @ca_file = ca_file
30
30
  end
31
31
 
@@ -10,6 +10,10 @@ module Closeio
10
10
  get("me/")
11
11
  end
12
12
 
13
+ def fetch_api_key
14
+ get("api_key/#{@api_key}/")
15
+ end
16
+
13
17
  end
14
18
  end
15
19
  end
@@ -1,3 +1,3 @@
1
1
  module Closeio
2
- VERSION = "2.4.12"
2
+ VERSION = "2.4.14"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: closeio
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.12
4
+ version: 2.4.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Brooks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-18 00:00:00.000000000 Z
11
+ date: 2016-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday