batchly_api 0.6.3 → 0.6.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 +4 -4
- data/lib/batchly_api/api_exception.rb +10 -4
- data/lib/batchly_api.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7baaa65b46f69edcb1633296304b085b90f7c033
|
|
4
|
+
data.tar.gz: 5321d2b9ac9b2c236e1fa2af9096d97e37f5fc55
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5436ebb13e4fb5c026ea6b79154e4767dbf17cc708b05506ccbd910d071eb35647958312d80f549441448a53684818d737ab96ba0bc00c291305ebd00ceaf741
|
|
7
|
+
data.tar.gz: 17716513f3200fe7f8921d19cc98160ab821d6691f51601cce8af61d0296482bad7120cc7fd61f0f8883ba1df34c3ce14f1294a8f180134ce182a01d0b6c3e82
|
|
@@ -14,10 +14,16 @@ module BatchlyApi
|
|
|
14
14
|
# @param [Numeric] the HTTP response code from the API request
|
|
15
15
|
# @param [Object] the HTTP unprased response from the API request
|
|
16
16
|
def initialize(reason, response_code, response_body)
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
super(reason)
|
|
18
|
+
@response_code = response_code
|
|
19
|
+
@response_body = response_body
|
|
20
|
+
|
|
21
|
+
if $DEBUG
|
|
22
|
+
puts reason
|
|
23
|
+
puts response_code
|
|
24
|
+
puts response_body
|
|
25
|
+
end
|
|
20
26
|
end
|
|
21
27
|
|
|
22
28
|
end
|
|
23
|
-
end
|
|
29
|
+
end
|
data/lib/batchly_api.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: batchly_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- batchly api support
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-
|
|
12
|
+
date: 2015-12-04 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: unirest
|