lob 5.4.4 → 5.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/README.md +3 -0
- data/lib/lob/resources/resource_base.rb +3 -0
- data/lib/lob/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14de59724a258146efda8e6e01416f8c783c5f63e92989dd017ca1ec17c7c43a
|
4
|
+
data.tar.gz: 49c06775670f7101fec498ea258ad2c415d086ea16c15cee163d34379ebacbae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad126ff6eef5e894245b99842ada43132454074dbad8d43093828f3069b173c1ff97940769cb55febe079d6bb48de8152d42ac28ed904e7f93df011252528084
|
7
|
+
data.tar.gz: d8f04a69fca64ef67ddfd2ed109f851917ac269f6996ae74009939f8601cd8060eeed56868c40303b9fad56857f5c6df3ff374f19a8a315e6c9ac6bbe39eb60c
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
## [**5.4.5**](https://github.com/lob/lob-ruby/releases/tag/v5.4.5) (2022-01-11)
|
2
|
+
- [**203**](https://github.com/lob/lob-ruby/pull/203) Pass through proxy to rest-client if supplied
|
1
3
|
## [**5.4.4**](https://github.com/lob/lob-ruby/releases/tag/v5.4.4) (2021-12-16)
|
2
4
|
- [**202**](https://github.com/lob/lob-ruby/pull/202) Fix for coveralls API for GH actions and fix for error in resource_base.rb
|
3
5
|
## [**5.4.3**](https://github.com/lob/lob-ruby/releases/tag/v5.4.3) (2021-12-15)
|
data/README.md
CHANGED
@@ -69,6 +69,9 @@ lob = Lob::Client.new(api_key: "your-api-key")
|
|
69
69
|
|
70
70
|
# To initialize a Lob object with an older API version
|
71
71
|
lob = Lob::Client.new(api_key: "your-api-key", api_version: "2014-12-18")
|
72
|
+
|
73
|
+
# To initialize a Lob object that needs to communicate via a proxy
|
74
|
+
lob = Lob::Client.new(api_key: "your-api-key", proxy: "http://proxy.example.com)
|
72
75
|
```
|
73
76
|
|
74
77
|
#### Caution: Pass zero-prefixed zip codes as strings
|
@@ -77,6 +77,9 @@ module Lob
|
|
77
77
|
method: method,
|
78
78
|
url: url,
|
79
79
|
}
|
80
|
+
|
81
|
+
client_params[:proxy] = config[:proxy] if config.key?(:proxy)
|
82
|
+
|
80
83
|
unless method == :delete || method == :get
|
81
84
|
if body and body[:merge_variables] and body[:merge_variables].class == Hash
|
82
85
|
body[:merge_variables] = body[:merge_variables].to_json
|
data/lib/lob/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lob
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.4.
|
4
|
+
version: 5.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lob
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|