ad_leads 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ad_leads/client.rb +2 -0
- data/lib/ad_leads/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: 87d05bf86a2ffdac68cb7772d7c541704fb8359f
|
4
|
+
data.tar.gz: 1e2e5b77a87dd5c52a6cfd0b725d73d8e6b30711
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb094e8218218bc4c6d33617ff65a7df9cafc71a6cb700d7dd4ac91dbf9af5bc4bc17cc6675f8a7dd53a0e266923e762d638ac28a015164e779703243c61619a
|
7
|
+
data.tar.gz: e336407a36ba39e01dbd5cb76ada5fd347bf3087f2bdb78f55a91dd66a857ecf0a347efee539efd19e01b9b462e18d1700a87f93f6c2533add43d784c3760813
|
data/lib/ad_leads/client.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'faraday'
|
2
2
|
require 'json'
|
3
|
+
require 'logger'
|
3
4
|
|
4
5
|
module AdLeads
|
5
6
|
class Client
|
@@ -98,6 +99,7 @@ module AdLeads
|
|
98
99
|
|
99
100
|
class Error < StandardError
|
100
101
|
def initialize(message)
|
102
|
+
Logger.new(STDOUT).error message
|
101
103
|
super(message)
|
102
104
|
end
|
103
105
|
end
|
data/lib/ad_leads/version.rb
CHANGED