mycrm 0.0.42 → 0.0.43
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mycrm/connectable.rb +2 -1
- data/lib/mycrm/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: 8b44fb519c57d752cfe53e2c44c213cfc88e2b64
|
4
|
+
data.tar.gz: 5417fff67bcf2c10d66207c0db0bd1b0b2582390
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e293925b80b237e396cd6ec0d44b5c304b7373f632c53590bf151ba1d8c97e9b25cbcf92ff296ba139763d752aa39ba202502c1f0928628b38101299f9610df3
|
7
|
+
data.tar.gz: 4cf60cb19788e63611c93be7e81bb498a103ed394a9849b23ea7dd10e298753bba19e7c7cc3a38a67bebf3510f23d1391f3589c0c9a101059eff3eeadcd20f4f
|
data/lib/mycrm/connectable.rb
CHANGED
@@ -72,7 +72,8 @@ module Mycrm
|
|
72
72
|
def connection
|
73
73
|
Mycrm::Connectable.connection do |faraday|
|
74
74
|
faraday.headers['Authorization'] = "Bearer #{skim(Mycrm::Connectable.token)}"
|
75
|
-
|
75
|
+
api_key = Mycrm.configuration.api_key
|
76
|
+
faraday.headers['X-MyCrm-ApiKey'] = api_key if api_key
|
76
77
|
end
|
77
78
|
end
|
78
79
|
|
data/lib/mycrm/version.rb
CHANGED