ingram_micro 0.1.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 +7 -0
- data/.DS_Store +0 -0
- data/.gitignore +11 -0
- data/.rspec +2 -0
- data/.travis.yml +4 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +123 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/example.rb +18 -0
- data/ingram_micro.gemspec +38 -0
- data/lib/.DS_Store +0 -0
- data/lib/ingram_micro.rb +42 -0
- data/lib/ingram_micro/.DS_Store +0 -0
- data/lib/ingram_micro/base_element.rb +32 -0
- data/lib/ingram_micro/client.rb +49 -0
- data/lib/ingram_micro/configuration.rb +46 -0
- data/lib/ingram_micro/elements/credit_card_information.rb +26 -0
- data/lib/ingram_micro/elements/customer.rb +23 -0
- data/lib/ingram_micro/elements/detail.rb +19 -0
- data/lib/ingram_micro/elements/message_header_no_pw.rb +21 -0
- data/lib/ingram_micro/elements/message_header_pw.rb +22 -0
- data/lib/ingram_micro/elements/purchase_order_information.rb +15 -0
- data/lib/ingram_micro/elements/return_authorization_line_item.rb +39 -0
- data/lib/ingram_micro/elements/return_authorization_submission.rb +67 -0
- data/lib/ingram_micro/elements/return_order_header.rb +29 -0
- data/lib/ingram_micro/elements/sales_order_header.rb +27 -0
- data/lib/ingram_micro/elements/sales_order_line_item.rb +37 -0
- data/lib/ingram_micro/elements/sales_order_submission.rb +62 -0
- data/lib/ingram_micro/elements/shipment_information.rb +69 -0
- data/lib/ingram_micro/elements/shipment_status.rb +44 -0
- data/lib/ingram_micro/elements/shipment_status_line_item.rb +28 -0
- data/lib/ingram_micro/errors/invalid_type.rb +2 -0
- data/lib/ingram_micro/errors/missing_field.rb +2 -0
- data/lib/ingram_micro/request_processor.rb +11 -0
- data/lib/ingram_micro/transmission.rb +50 -0
- data/lib/ingram_micro/transmissions/check_shipment_status.rb +45 -0
- data/lib/ingram_micro/transmissions/return_authorization.rb +50 -0
- data/lib/ingram_micro/transmissions/sales_order.rb +55 -0
- data/lib/ingram_micro/version.rb +3 -0
- data/xsd/.DS_Store +0 -0
- data/xsd/BPXML_InventoryStatus.xsd +49 -0
- data/xsd/inbound/BPXML-LoadReject.xsd +686 -0
- data/xsd/inbound/BPXML-LoadSuccess.xsd +696 -0
- data/xsd/inbound/BPXML-ReturnReceipt.xsd +664 -0
- data/xsd/inbound/BPXML-ShipAdvice.xsd +758 -0
- data/xsd/inbound/BPXML-StandardResponse.xsd +122 -0
- data/xsd/outbound/BPXML-ReturnAuthorization.xsd +641 -0
- data/xsd/outbound/BPXML-SalesOrder.xsd +753 -0
- data/xsd/outbound/BPXML-ShipmentStatus.xsd +232 -0
- data/xsd/xml_samples/.DS_Store +0 -0
- data/xsd/xml_samples/Sales_order_sample.xml +143 -0
- metadata +227 -0
@@ -0,0 +1,232 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
3
|
+
<xs:annotation>
|
4
|
+
<xs:documentation xml:lang="en"> This schema captures the requirement details for
|
5
|
+
the Shipment Status process. The XML document generated by Brightpoint will be based on this schema and information available will be based on the elements specified in this transaction. </xs:documentation>
|
6
|
+
</xs:annotation>
|
7
|
+
<xs:element name="message">
|
8
|
+
<xs:annotation>
|
9
|
+
<xs:documentation xml:lang="en"> This is the root document element used to
|
10
|
+
encapsulate the entire message. </xs:documentation>
|
11
|
+
</xs:annotation>
|
12
|
+
<xs:complexType>
|
13
|
+
<xs:sequence>
|
14
|
+
<xs:element ref="message-header" minOccurs="1" maxOccurs="1"/>
|
15
|
+
<xs:element ref="shipment-status" minOccurs="1" maxOccurs="1"/>
|
16
|
+
<xs:element ref="transactionInfo" minOccurs="1" maxOccurs="1"/>
|
17
|
+
</xs:sequence>
|
18
|
+
</xs:complexType>
|
19
|
+
</xs:element>
|
20
|
+
<xs:element name="message-header">
|
21
|
+
<xs:annotation>
|
22
|
+
<xs:documentation xml:lang="en"> Collection of basic message information about
|
23
|
+
the original XML Document </xs:documentation>
|
24
|
+
</xs:annotation>
|
25
|
+
<xs:complexType>
|
26
|
+
<xs:sequence>
|
27
|
+
<xs:element ref="message-id" maxOccurs="1" minOccurs="1" />
|
28
|
+
<xs:element ref="transaction-name" maxOccurs="1" minOccurs="1"/>
|
29
|
+
<xs:element ref="partner-name" maxOccurs="1" minOccurs="1"/>
|
30
|
+
<xs:element ref="source-url" minOccurs="0" maxOccurs="1"/>
|
31
|
+
<xs:element ref="create-timestamp" minOccurs="1" maxOccurs="1"/>
|
32
|
+
<xs:element ref="response-request" minOccurs="1" maxOccurs="1"/>
|
33
|
+
</xs:sequence>
|
34
|
+
</xs:complexType>
|
35
|
+
</xs:element>
|
36
|
+
<xs:element name="message-id" type="xs:integer">
|
37
|
+
<xs:annotation>
|
38
|
+
<xs:documentation xml:lang="en">Unique message identification ID</xs:documentation>
|
39
|
+
</xs:annotation>
|
40
|
+
</xs:element>
|
41
|
+
<xs:element default="shipment-status" name="transaction-name" type="xs:string">
|
42
|
+
<xs:annotation>
|
43
|
+
<xs:documentation xml:lang="en">The name of the inbound message transaction. In
|
44
|
+
the case of this transaction it is shipment-status.</xs:documentation>
|
45
|
+
</xs:annotation>
|
46
|
+
</xs:element>
|
47
|
+
<xs:element name="partner-name" type="xs:string">
|
48
|
+
<xs:annotation>
|
49
|
+
<xs:documentation xml:lang="en">Short name of partner be used to identify
|
50
|
+
mappings of data.</xs:documentation>
|
51
|
+
</xs:annotation>
|
52
|
+
</xs:element>
|
53
|
+
<xs:element name="source-url" type="xs:anyURI">
|
54
|
+
<xs:annotation>
|
55
|
+
<xs:documentation xml:lang="en">Unique Resource Locator that posts the XML
|
56
|
+
Document.</xs:documentation>
|
57
|
+
</xs:annotation>
|
58
|
+
</xs:element>
|
59
|
+
<xs:element name="create-timestamp" type="xs:string">
|
60
|
+
<xs:annotation>
|
61
|
+
<xs:documentation xml:lang="en">Date and Time at which XML Document was
|
62
|
+
generated from source system. In CCYYMMDDHHMISS.</xs:documentation>
|
63
|
+
</xs:annotation>
|
64
|
+
</xs:element>
|
65
|
+
<xs:element name="response-request" final="#all">
|
66
|
+
<xs:annotation>
|
67
|
+
<xs:documentation xml:lang="en">Flag to determine if the receiving party is
|
68
|
+
required to send a response back or not. 0: Response Not Required; 1: Response Required</xs:documentation>
|
69
|
+
</xs:annotation>
|
70
|
+
<xs:simpleType>
|
71
|
+
<xs:restriction base="xs:integer">
|
72
|
+
<xs:enumeration value="0"/>
|
73
|
+
<xs:enumeration value="1"/>
|
74
|
+
</xs:restriction>
|
75
|
+
</xs:simpleType>
|
76
|
+
</xs:element>
|
77
|
+
<xs:element name="shipment-status">
|
78
|
+
<xs:annotation>
|
79
|
+
<xs:documentation xml:lang="en"> Main Element for the Shipment Status XML Document which contains all business related information </xs:documentation>
|
80
|
+
</xs:annotation>
|
81
|
+
<xs:complexType>
|
82
|
+
<xs:sequence>
|
83
|
+
<xs:element ref="header" minOccurs="1" maxOccurs="1"/>
|
84
|
+
<xs:element ref="detail" minOccurs="1" maxOccurs="1"/>
|
85
|
+
</xs:sequence>
|
86
|
+
</xs:complexType>
|
87
|
+
</xs:element>
|
88
|
+
<xs:element name="header">
|
89
|
+
<xs:annotation>
|
90
|
+
<xs:documentation xml:lang="en"> Header tag of business related information in all
|
91
|
+
XML Documents </xs:documentation>
|
92
|
+
</xs:annotation>
|
93
|
+
<xs:complexType>
|
94
|
+
<xs:sequence>
|
95
|
+
<xs:element ref="customer-information"/>
|
96
|
+
</xs:sequence>
|
97
|
+
</xs:complexType>
|
98
|
+
</xs:element>
|
99
|
+
<xs:element name="customer-information">
|
100
|
+
<xs:annotation>
|
101
|
+
<xs:documentation xml:lang="en">Customer Information associated with this
|
102
|
+
transaction.</xs:documentation>
|
103
|
+
</xs:annotation>
|
104
|
+
<xs:complexType>
|
105
|
+
<xs:sequence>
|
106
|
+
<xs:element ref="customer-id" minOccurs="1" maxOccurs="1"/>
|
107
|
+
<xs:element ref="business-name" minOccurs="0" maxOccurs="1"/>
|
108
|
+
</xs:sequence>
|
109
|
+
</xs:complexType>
|
110
|
+
</xs:element>
|
111
|
+
<xs:element name="customer-id" type="xs:string">
|
112
|
+
<xs:annotation>
|
113
|
+
<xs:documentation xml:lang="en"> Customer Identification number in the
|
114
|
+
Brightpoint's system. </xs:documentation>
|
115
|
+
</xs:annotation>
|
116
|
+
</xs:element>
|
117
|
+
<xs:element name="business-name" type="xs:string">
|
118
|
+
<xs:annotation>
|
119
|
+
<xs:documentation xml:lang="en">This is a deprecated element and may not be
|
120
|
+
populated with any data.</xs:documentation>
|
121
|
+
</xs:annotation>
|
122
|
+
</xs:element>
|
123
|
+
<xs:element name="detail">
|
124
|
+
<xs:annotation>
|
125
|
+
<xs:documentation xml:lang="en"> Detail tag of business related information in all
|
126
|
+
XML Documents. </xs:documentation>
|
127
|
+
</xs:annotation>
|
128
|
+
<xs:complexType>
|
129
|
+
<xs:sequence>
|
130
|
+
<xs:element ref="line-item" minOccurs="1" maxOccurs="unbounded"/>
|
131
|
+
</xs:sequence>
|
132
|
+
</xs:complexType>
|
133
|
+
</xs:element>
|
134
|
+
<xs:element name="line-item">
|
135
|
+
<xs:annotation>
|
136
|
+
<xs:documentation xml:lang="en"> Main Element that contains all line item related
|
137
|
+
information. </xs:documentation>
|
138
|
+
</xs:annotation>
|
139
|
+
<xs:complexType>
|
140
|
+
<xs:sequence>
|
141
|
+
<xs:element ref="line-no" minOccurs="1" maxOccurs="1"/>
|
142
|
+
<xs:element ref="transaction-document-number" minOccurs="0" maxOccurs="1"/>
|
143
|
+
<xs:element ref="bill-of-lading" minOccurs="1" maxOccurs="1"/>
|
144
|
+
<xs:element ref="customer-order-number" minOccurs="0" maxOccurs="1"/>
|
145
|
+
<xs:element ref="brightpoint-order-number" minOccurs="1" maxOccurs="1"/>
|
146
|
+
<xs:element ref="status-code" minOccurs="1" maxOccurs="1"/>
|
147
|
+
<xs:element ref="status-date" minOccurs="1" maxOccurs="1"/>
|
148
|
+
<xs:element ref="reason-code" minOccurs="0" maxOccurs="1"/>
|
149
|
+
<xs:element ref="signed-by" minOccurs="0" maxOccurs="1"/>
|
150
|
+
<xs:element ref="status-timestamp" minOccurs="1" maxOccurs="1"/>
|
151
|
+
<xs:element ref="comments" minOccurs="0" maxOccurs="1"/>
|
152
|
+
</xs:sequence>
|
153
|
+
</xs:complexType>
|
154
|
+
</xs:element>
|
155
|
+
<xs:element name="line-no" type="xs:string">
|
156
|
+
<xs:annotation>
|
157
|
+
<xs:documentation xml:lang="en"> Line Number at the detail level.
|
158
|
+
</xs:documentation>
|
159
|
+
</xs:annotation>
|
160
|
+
</xs:element>
|
161
|
+
<xs:element name="transaction-document-number" nillable="true" type="xs:string">
|
162
|
+
<xs:annotation>
|
163
|
+
<xs:documentation xml:lang="en"> This can be used to send a customer specific transaction value (if applicable). </xs:documentation>
|
164
|
+
</xs:annotation>
|
165
|
+
</xs:element>
|
166
|
+
<xs:element name="bill-of-lading" type="xs:string">
|
167
|
+
<xs:annotation>
|
168
|
+
<xs:documentation xml:lang="en"> Bill of Lading or Tracking Number of Shipment
|
169
|
+
from Carrier. </xs:documentation>
|
170
|
+
</xs:annotation>
|
171
|
+
</xs:element>
|
172
|
+
<xs:element name="customer-order-number" nillable="true" type="xs:string">
|
173
|
+
<xs:annotation>
|
174
|
+
<xs:documentation xml:lang="en"> Customer order reference number.
|
175
|
+
</xs:documentation>
|
176
|
+
</xs:annotation>
|
177
|
+
</xs:element>
|
178
|
+
<xs:element name="brightpoint-order-number" type="xs:string">
|
179
|
+
<xs:annotation>
|
180
|
+
<xs:documentation xml:lang="en"> Order reference number from Brightpoint order
|
181
|
+
manaagement system. </xs:documentation>
|
182
|
+
</xs:annotation>
|
183
|
+
</xs:element>
|
184
|
+
<xs:element name="status-code" type="xs:string">
|
185
|
+
<xs:annotation>
|
186
|
+
<xs:documentation xml:lang="en"> Code representing status of this shipment
|
187
|
+
record. </xs:documentation>
|
188
|
+
</xs:annotation>
|
189
|
+
</xs:element>
|
190
|
+
<xs:element name="reason-code" type="xs:string">
|
191
|
+
<xs:annotation>
|
192
|
+
<xs:documentation xml:lang="en"> Code indicating the reason a shipment status or
|
193
|
+
appointment reason was transmitted. </xs:documentation>
|
194
|
+
</xs:annotation>
|
195
|
+
</xs:element>
|
196
|
+
<xs:element name="status-date" type="xs:string">
|
197
|
+
<xs:annotation>
|
198
|
+
<xs:documentation xml:lang="en"> Date the status code was returned from the
|
199
|
+
carrier. </xs:documentation>
|
200
|
+
</xs:annotation>
|
201
|
+
</xs:element>
|
202
|
+
<xs:element name="signed-by" type="xs:string">
|
203
|
+
<xs:annotation>
|
204
|
+
<xs:documentation xml:lang="en"> The signature of person signing for package delivery. </xs:documentation>
|
205
|
+
</xs:annotation>
|
206
|
+
</xs:element>
|
207
|
+
<xs:element name="status-timestamp" type="xs:string">
|
208
|
+
<xs:annotation>
|
209
|
+
<xs:documentation xml:lang="en"> The timestamp at which this information was
|
210
|
+
made available. In CCYYMMDDHHMISS. </xs:documentation>
|
211
|
+
</xs:annotation>
|
212
|
+
</xs:element>
|
213
|
+
<xs:element name="comments" nillable="true" type="xs:string">
|
214
|
+
<xs:annotation>
|
215
|
+
<xs:documentation xml:lang="en"> Any comments that may be attached to the
|
216
|
+
Buffer (Inventory at a Site). </xs:documentation>
|
217
|
+
</xs:annotation>
|
218
|
+
</xs:element>
|
219
|
+
<xs:element name="transactionInfo">
|
220
|
+
<xs:complexType>
|
221
|
+
<xs:sequence>
|
222
|
+
<xs:element ref="eventID" minOccurs="1" maxOccurs="1"/>
|
223
|
+
</xs:sequence>
|
224
|
+
</xs:complexType>
|
225
|
+
</xs:element>
|
226
|
+
<xs:element name="eventID" type="xs:string">
|
227
|
+
<xs:annotation>
|
228
|
+
<xs:documentation xml:lang="en">Event ID from the customer's
|
229
|
+
system.</xs:documentation>
|
230
|
+
</xs:annotation>
|
231
|
+
</xs:element>
|
232
|
+
</xs:schema>
|
Binary file
|
@@ -0,0 +1,143 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE message SYSTEM "http://www.brightpoint.com:7800/best/dtd/SaleOrder.dtd">
|
3
|
+
<message>
|
4
|
+
<message-header>
|
5
|
+
<message-id>178329</message-id>
|
6
|
+
<transaction-name>sales-order-submission</transaction-name>
|
7
|
+
<partner-name>usfi</partner-name>
|
8
|
+
<partner-password/>
|
9
|
+
<source-url>http://www.customer.com</source-url>
|
10
|
+
<create-timestamp>20100415145015</create-timestamp>
|
11
|
+
<response-request>1</response-request>
|
12
|
+
</message-header>
|
13
|
+
<sales-order-submission>
|
14
|
+
<header>
|
15
|
+
<customer-id>286104</customer-id>
|
16
|
+
<business-name>customer</business-name>
|
17
|
+
<carrier-name>FEDEX</carrier-name>
|
18
|
+
<customer-information>
|
19
|
+
<customer-first-name/>
|
20
|
+
<customer-last-name/>
|
21
|
+
<customer-middle-initial/>
|
22
|
+
<customer-address1/>
|
23
|
+
<customer-address2/>
|
24
|
+
<customer-address3/>
|
25
|
+
<customer-city/>
|
26
|
+
<customer-state/>
|
27
|
+
<customer-post-code/>
|
28
|
+
<customer-country-code/>
|
29
|
+
<customer-phone1/>
|
30
|
+
<customer-phone2/>
|
31
|
+
<customer-fax/>
|
32
|
+
<customer-email/>
|
33
|
+
</customer-information>
|
34
|
+
<shipment-information>
|
35
|
+
<ship-first-name>Name 1</ship-first-name>
|
36
|
+
<ship-last-name>Name 2</ship-last-name>
|
37
|
+
<ship-middle-initial/>
|
38
|
+
<ship-address1>6229 WEST 16 AVE </ship-address1>
|
39
|
+
<ship-address2/>
|
40
|
+
<ship-address3/>
|
41
|
+
<ship-city>Somewhere</ship-city>
|
42
|
+
<ship-state>IN</ship-state>
|
43
|
+
<ship-post-code>12345</ship-post-code>
|
44
|
+
<ship-country-code>US</ship-country-code>
|
45
|
+
<ship-phone1>(317)555-8202</ship-phone1>
|
46
|
+
<ship-phone2/>
|
47
|
+
<ship-fax/>
|
48
|
+
<ship-email>customer@yahoo.com</ship-email>
|
49
|
+
<ship-via>SFXSVP</ship-via>
|
50
|
+
<ship-request-date>20100415</ship-request-date>
|
51
|
+
<ship-request-from>Indianapolis</ship-request-from>
|
52
|
+
<ship-request-warehouse>whse1</ship-request-warehouse>
|
53
|
+
</shipment-information>
|
54
|
+
<purchase-order-information>
|
55
|
+
<purchase-order-number>178329</purchase-order-number>
|
56
|
+
<account-description/>
|
57
|
+
<purchase-order-amount/>
|
58
|
+
<currency-code>USD</currency-code>
|
59
|
+
<comments/>
|
60
|
+
</purchase-order-information>
|
61
|
+
<credit-card-information>
|
62
|
+
<credit-card-number/>
|
63
|
+
<credit-card-expiration-date/>
|
64
|
+
<credit-card-identification/>
|
65
|
+
<global-card-classification-code/>
|
66
|
+
<card-holder-name/>
|
67
|
+
<card-holder-address1/>
|
68
|
+
<card-holder-address2/>
|
69
|
+
<card-holder-city/>
|
70
|
+
<card-holder-state/>
|
71
|
+
<card-holder-post-code/>
|
72
|
+
<card-holder-country-code/>
|
73
|
+
<authorized-amount/>
|
74
|
+
<billing-sequence-number/>
|
75
|
+
<billing-authorization-response/>
|
76
|
+
<billing-address-match/>
|
77
|
+
<billing-zip-match/>
|
78
|
+
<avs-hold/>
|
79
|
+
<merchant-name/>
|
80
|
+
</credit-card-information>
|
81
|
+
<order-header>
|
82
|
+
<customer-order-number>178329</customer-order-number>
|
83
|
+
<customer-order-date>20100415</customer-order-date>
|
84
|
+
<order-sub-total/>
|
85
|
+
<order-discount/>
|
86
|
+
<order-tax1/>
|
87
|
+
<order-tax2/>
|
88
|
+
<order-tax3/>
|
89
|
+
<order-shipment-charge/>
|
90
|
+
<order-total-net/>
|
91
|
+
<order-status>SUBMITTED</order-status>
|
92
|
+
<order-type>WEB SALES</order-type>
|
93
|
+
<gift-flag/>
|
94
|
+
</order-header>
|
95
|
+
</header>
|
96
|
+
<detail>
|
97
|
+
<line-item>
|
98
|
+
<line-no>1</line-no>
|
99
|
+
<item-code>HW-M750</item-code>
|
100
|
+
<universal-product-code/>
|
101
|
+
<product-name>Huawei M750</product-name>
|
102
|
+
<comments/>
|
103
|
+
<quantity>1</quantity>
|
104
|
+
<unit-of-measure>EA</unit-of-measure>
|
105
|
+
<sid/>
|
106
|
+
<esn/>
|
107
|
+
<min/>
|
108
|
+
<mdn/>
|
109
|
+
<irdb/>
|
110
|
+
<imei/>
|
111
|
+
<market-id/>
|
112
|
+
<line-status>IN STOCK</line-status>
|
113
|
+
<base-price/>
|
114
|
+
<line-discount/>
|
115
|
+
<line-tax1/>
|
116
|
+
<line-tax2/>
|
117
|
+
<line-tax3/>
|
118
|
+
</line-item>
|
119
|
+
<line-item>
|
120
|
+
<line-no>2</line-no>
|
121
|
+
<item-code>HW-M750</item-code>
|
122
|
+
<universal-product-code/>
|
123
|
+
<product-name>Huawei M750</product-name>
|
124
|
+
<comments/>
|
125
|
+
<quantity>1</quantity>
|
126
|
+
<unit-of-measure>EA</unit-of-measure>
|
127
|
+
<sid/>
|
128
|
+
<esn/>
|
129
|
+
<min/>
|
130
|
+
<mdn/>
|
131
|
+
<irdb/>
|
132
|
+
<imei/>
|
133
|
+
<market-id/>
|
134
|
+
<line-status>IN STOCK</line-status>
|
135
|
+
<base-price/>
|
136
|
+
<line-discount/>
|
137
|
+
<line-tax1/>
|
138
|
+
<line-tax2/>
|
139
|
+
<line-tax3/>
|
140
|
+
</line-item>
|
141
|
+
</detail>
|
142
|
+
</sales-order-submission>
|
143
|
+
</message>
|
metadata
ADDED
@@ -0,0 +1,227 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ingram_micro
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Rachel Heaton
|
8
|
+
- Joseph Nguyen
|
9
|
+
- Ben Christel
|
10
|
+
autorequire:
|
11
|
+
bindir: exe
|
12
|
+
cert_chain: []
|
13
|
+
date: 2016-06-22 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: faraday
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - ">="
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: '0'
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: faraday_middleware
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - ">="
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0'
|
36
|
+
type: :runtime
|
37
|
+
prerelease: false
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0'
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: nokogiri
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '1.6'
|
50
|
+
type: :runtime
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - "~>"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '1.6'
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: activesupport
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0'
|
64
|
+
type: :development
|
65
|
+
prerelease: false
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '0'
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: bundler
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - "~>"
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '1.10'
|
78
|
+
type: :development
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - "~>"
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '1.10'
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: rake
|
87
|
+
requirement: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - "~>"
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '10.0'
|
92
|
+
type: :development
|
93
|
+
prerelease: false
|
94
|
+
version_requirements: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - "~>"
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '10.0'
|
99
|
+
- !ruby/object:Gem::Dependency
|
100
|
+
name: rspec
|
101
|
+
requirement: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - ">="
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '0'
|
106
|
+
type: :development
|
107
|
+
prerelease: false
|
108
|
+
version_requirements: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: pry
|
115
|
+
requirement: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - ">="
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '0'
|
120
|
+
type: :development
|
121
|
+
prerelease: false
|
122
|
+
version_requirements: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - ">="
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '0'
|
127
|
+
- !ruby/object:Gem::Dependency
|
128
|
+
name: factory_girl
|
129
|
+
requirement: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - "~>"
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '4.0'
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - "~>"
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '4.0'
|
141
|
+
description:
|
142
|
+
email:
|
143
|
+
- rachelmheaton@gmail.com
|
144
|
+
executables: []
|
145
|
+
extensions: []
|
146
|
+
extra_rdoc_files: []
|
147
|
+
files:
|
148
|
+
- ".DS_Store"
|
149
|
+
- ".gitignore"
|
150
|
+
- ".rspec"
|
151
|
+
- ".travis.yml"
|
152
|
+
- CODE_OF_CONDUCT.md
|
153
|
+
- Gemfile
|
154
|
+
- LICENSE.txt
|
155
|
+
- README.md
|
156
|
+
- Rakefile
|
157
|
+
- bin/console
|
158
|
+
- bin/setup
|
159
|
+
- example.rb
|
160
|
+
- ingram_micro.gemspec
|
161
|
+
- lib/.DS_Store
|
162
|
+
- lib/ingram_micro.rb
|
163
|
+
- lib/ingram_micro/.DS_Store
|
164
|
+
- lib/ingram_micro/base_element.rb
|
165
|
+
- lib/ingram_micro/client.rb
|
166
|
+
- lib/ingram_micro/configuration.rb
|
167
|
+
- lib/ingram_micro/elements/credit_card_information.rb
|
168
|
+
- lib/ingram_micro/elements/customer.rb
|
169
|
+
- lib/ingram_micro/elements/detail.rb
|
170
|
+
- lib/ingram_micro/elements/message_header_no_pw.rb
|
171
|
+
- lib/ingram_micro/elements/message_header_pw.rb
|
172
|
+
- lib/ingram_micro/elements/purchase_order_information.rb
|
173
|
+
- lib/ingram_micro/elements/return_authorization_line_item.rb
|
174
|
+
- lib/ingram_micro/elements/return_authorization_submission.rb
|
175
|
+
- lib/ingram_micro/elements/return_order_header.rb
|
176
|
+
- lib/ingram_micro/elements/sales_order_header.rb
|
177
|
+
- lib/ingram_micro/elements/sales_order_line_item.rb
|
178
|
+
- lib/ingram_micro/elements/sales_order_submission.rb
|
179
|
+
- lib/ingram_micro/elements/shipment_information.rb
|
180
|
+
- lib/ingram_micro/elements/shipment_status.rb
|
181
|
+
- lib/ingram_micro/elements/shipment_status_line_item.rb
|
182
|
+
- lib/ingram_micro/errors/invalid_type.rb
|
183
|
+
- lib/ingram_micro/errors/missing_field.rb
|
184
|
+
- lib/ingram_micro/request_processor.rb
|
185
|
+
- lib/ingram_micro/transmission.rb
|
186
|
+
- lib/ingram_micro/transmissions/check_shipment_status.rb
|
187
|
+
- lib/ingram_micro/transmissions/return_authorization.rb
|
188
|
+
- lib/ingram_micro/transmissions/sales_order.rb
|
189
|
+
- lib/ingram_micro/version.rb
|
190
|
+
- xsd/.DS_Store
|
191
|
+
- xsd/BPXML_InventoryStatus.xsd
|
192
|
+
- xsd/inbound/BPXML-LoadReject.xsd
|
193
|
+
- xsd/inbound/BPXML-LoadSuccess.xsd
|
194
|
+
- xsd/inbound/BPXML-ReturnReceipt.xsd
|
195
|
+
- xsd/inbound/BPXML-ShipAdvice.xsd
|
196
|
+
- xsd/inbound/BPXML-StandardResponse.xsd
|
197
|
+
- xsd/outbound/BPXML-ReturnAuthorization.xsd
|
198
|
+
- xsd/outbound/BPXML-SalesOrder.xsd
|
199
|
+
- xsd/outbound/BPXML-ShipmentStatus.xsd
|
200
|
+
- xsd/xml_samples/.DS_Store
|
201
|
+
- xsd/xml_samples/Sales_order_sample.xml
|
202
|
+
homepage: https://github.com/WalkerAndCoBrandsInc/ingram_micro
|
203
|
+
licenses:
|
204
|
+
- MIT
|
205
|
+
metadata:
|
206
|
+
allowed_push_host: https://rubygems.org
|
207
|
+
post_install_message:
|
208
|
+
rdoc_options: []
|
209
|
+
require_paths:
|
210
|
+
- lib
|
211
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
217
|
+
requirements:
|
218
|
+
- - ">="
|
219
|
+
- !ruby/object:Gem::Version
|
220
|
+
version: '0'
|
221
|
+
requirements: []
|
222
|
+
rubyforge_project:
|
223
|
+
rubygems_version: 2.5.1
|
224
|
+
signing_key:
|
225
|
+
specification_version: 4
|
226
|
+
summary: Rubygem wrapper for Ingram Micro API
|
227
|
+
test_files: []
|