usps-imis-api 0.11.11 → 0.11.12
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/usps/imis/api.rb +8 -0
- data/lib/usps/imis/query.rb +1 -7
- 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: 3b7dbdde63c0e5541e240df706bd51d2f4db983473a29e3b5db1d4779015893b
|
|
4
|
+
data.tar.gz: aa80e0a5094e561d3e8a2b64c56c9e18ea4cf93c24a6e3c8729c108d3a639ccf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cda6f17fedd33eaed4f347bf0213b4f87ba1d784cd333208a244c84ac6223610363f402bc40348eb2bc4ea770de83d3f63edfa37bd3bcb5d3c4d7454cc064780
|
|
7
|
+
data.tar.gz: 2124949a5db9853087e076681f76b3e7df609610573026679f2bc89f9403f88cf762ae9be68f2a7f3852d255a9bfcceb3eed02bf0a5b518d5f6b9daaeeec0a84
|
data/lib/usps/imis/api.rb
CHANGED
|
@@ -148,6 +148,14 @@ module Usps
|
|
|
148
148
|
#
|
|
149
149
|
def update(data) = mapper.update(data)
|
|
150
150
|
|
|
151
|
+
# List of available Business Object names
|
|
152
|
+
#
|
|
153
|
+
def business_objects
|
|
154
|
+
abc, other = query('BOEntityDefinition').map(&:entity).partition { it.include?('ABC') }
|
|
155
|
+
|
|
156
|
+
{ abc:, other: }
|
|
157
|
+
end
|
|
158
|
+
|
|
151
159
|
# Convenience accessor for available Panel objects, each using this instance as its parent
|
|
152
160
|
# +Api+
|
|
153
161
|
#
|
data/lib/usps/imis/query.rb
CHANGED
data/lib/usps/imis/version.rb
CHANGED