usps-imis-api 0.3.2 → 0.3.3.pre.1
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/Gemfile.lock +1 -1
- data/lib/usps/imis/api.rb +2 -1
- data/lib/usps/imis/panel/base_panel.rb +2 -1
- data/lib/usps/imis/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc22f317de0a82cfb40a5083b7db1d9fb86a5d942bb83547dc289f85dafb850a
|
4
|
+
data.tar.gz: ead09b5d23d8bc4caace906d06ed728b8d6eaca16a09b911ba1d7d327847e2c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12edb38028ba33c80cec5445e4516814d9abbbb535a0073dfc565edfb80554175b42e1047c91a31da97a188af9882ed46e77839a8bdaf032043eb993bddb352d
|
7
|
+
data.tar.gz: f4b506cf80210450c215ff7fede0f1b83469b6595e4f21c23cb5eb7ceea186c71371d6404cf64fb285ca88b1d81423d3c5e50b65cb5c6c088a293efd34031d23
|
data/Gemfile.lock
CHANGED
data/lib/usps/imis/api.rb
CHANGED
@@ -10,8 +10,9 @@ module Usps
|
|
10
10
|
|
11
11
|
attr_reader :token, :token_expiration, :imis_id
|
12
12
|
|
13
|
-
def initialize(skip_authentication: false)
|
13
|
+
def initialize(skip_authentication: false, imis_id: nil)
|
14
14
|
authenticate unless skip_authentication
|
15
|
+
self.imis_id = imis_id if imis_id
|
15
16
|
end
|
16
17
|
|
17
18
|
# Manually set the current ID, if you already have it for a given member
|
data/lib/usps/imis/version.rb
CHANGED