usps-imis-api 0.10.0 → 0.10.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/Readme.md +15 -1
- data/lib/usps/imis/api.rb +1 -1
- data/lib/usps/imis/business_object.rb +2 -0
- 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: 53b4870b15d7758a4de24b84f2ef96afbdf5fb657e8969ea6ceb29ef940a4f8c
|
|
4
|
+
data.tar.gz: '009005a1b43078f129671df80aa4271202073c549aafc1558ca3d4b23ed79a79'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7ad3868896d1e9c80d39d7edf8a27f7e647838f069fb9b2cb58776c2e2befb87990b20e8cf080690a859c2b3b4fc87928a0f648c2217efaab095c69251de0138
|
|
7
|
+
data.tar.gz: b5004fabdeaa0a62ad9cdd43252ee3d09320eace98161283185afa7873a582e63a736537b052c90968335275c1b0878702218c291886a3a06fb370b644d0f246
|
data/Readme.md
CHANGED
|
@@ -83,7 +83,21 @@ api.imis_id = imis_id
|
|
|
83
83
|
|
|
84
84
|
#### Without an iMIS ID
|
|
85
85
|
|
|
86
|
-
Running requests without an iMIS ID set will
|
|
86
|
+
Running requests without an iMIS ID set will raise an exception.
|
|
87
|
+
|
|
88
|
+
If you want to query the entire Business Object, use the query interface instead:
|
|
89
|
+
|
|
90
|
+
```ruby
|
|
91
|
+
api = Usps::Imis::Api.new # No iMIS ID set
|
|
92
|
+
|
|
93
|
+
# These requests are identical:
|
|
94
|
+
|
|
95
|
+
Usps::Imis::Query.new(api, 'ABC_ASC_Individual_Demog')
|
|
96
|
+
|
|
97
|
+
api.on('ABC_ASC_Individual_Demog').query
|
|
98
|
+
|
|
99
|
+
api.query('ABC_ASC_Individual_Demog')
|
|
100
|
+
```
|
|
87
101
|
|
|
88
102
|
### Business Object and Panel Actions
|
|
89
103
|
|
data/lib/usps/imis/api.rb
CHANGED
|
@@ -106,7 +106,7 @@ module Usps
|
|
|
106
106
|
# @param query_name [String] Full path of the query, e.g. +$/_ABC/Fiander/iMIS_ID+
|
|
107
107
|
# @query_params [Hash] Conforms to pattern +{ param_name => param_value }+
|
|
108
108
|
#
|
|
109
|
-
# @return [
|
|
109
|
+
# @return [Usps::Imis::Query] Query wrapper
|
|
110
110
|
#
|
|
111
111
|
def query(query_name, query_params = {}) = Query.new(self, query_name, **query_params)
|
|
112
112
|
|
data/lib/usps/imis/version.rb
CHANGED