econt 0.1.0
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/CHANGELOG.md +3 -0
- data/CODE_OF_CONDUCT.md +17 -0
- data/CONTRIBUTING.md +37 -0
- data/LICENSE.txt +21 -0
- data/README.md +171 -0
- data/SECURITY.md +33 -0
- data/docs/API.md +571 -0
- data/docs/ENDPOINTS.md +42 -0
- data/docs/PUBLIC_API.md +81 -0
- data/docs/RELEASING.md +35 -0
- data/docs/RESPONSE_TESTS.md +46 -0
- data/docs/VCR.md +144 -0
- data/lib/econt/camel_case_middleware.rb +88 -0
- data/lib/econt/client.rb +99 -0
- data/lib/econt/collection.rb +59 -0
- data/lib/econt/error.rb +42 -0
- data/lib/econt/meta_resource.rb +6 -0
- data/lib/econt/model.rb +95 -0
- data/lib/econt/models/error.rb +53 -0
- data/lib/econt/models/hosted_file.rb +13 -0
- data/lib/econt/models/nomenclatures/address.rb +35 -0
- data/lib/econt/models/nomenclatures/address_service_info.rb +16 -0
- data/lib/econt/models/nomenclatures/address_service_times_response.rb +19 -0
- data/lib/econt/models/nomenclatures/address_validation_response.rb +19 -0
- data/lib/econt/models/nomenclatures/city.rb +32 -0
- data/lib/econt/models/nomenclatures/country.rb +16 -0
- data/lib/econt/models/nomenclatures/geo_location.rb +13 -0
- data/lib/econt/models/nomenclatures/office.rb +32 -0
- data/lib/econt/models/nomenclatures/quarter.rb +14 -0
- data/lib/econt/models/nomenclatures/serving_office_element.rb +12 -0
- data/lib/econt/models/nomenclatures/street.rb +14 -0
- data/lib/econt/models/nomenclatures/working_date_time.rb +16 -0
- data/lib/econt/models/nomenclatures/working_time.rb +12 -0
- data/lib/econt/models/payment_report/payment_report_row.rb +17 -0
- data/lib/econt/models/profile/cd_pay_options.rb +24 -0
- data/lib/econt/models/profile/client_profile.rb +29 -0
- data/lib/econt/models/profile/profiles_response_element.rb +16 -0
- data/lib/econt/models/shipments/cargo_vehicle_options.rb +16 -0
- data/lib/econt/models/shipments/check_possible_shipment_editions_result_element.rb +14 -0
- data/lib/econt/models/shipments/create_label_result_element.rb +19 -0
- data/lib/econt/models/shipments/customs_list_element.rb +14 -0
- data/lib/econt/models/shipments/delete_labels_result_element.rb +14 -0
- data/lib/econt/models/shipments/get_my_awb_response.rb +15 -0
- data/lib/econt/models/shipments/get_my_awb_result_element.rb +23 -0
- data/lib/econt/models/shipments/instruction.rb +20 -0
- data/lib/econt/models/shipments/next_shipment_element.rb +13 -0
- data/lib/econt/models/shipments/pack_element.rb +14 -0
- data/lib/econt/models/shipments/packing_list_element.rb +17 -0
- data/lib/econt/models/shipments/payment_addition_price.rb +14 -0
- data/lib/econt/models/shipments/payment_instruction.rb +11 -0
- data/lib/econt/models/shipments/previous_shipment.rb +14 -0
- data/lib/econt/models/shipments/request_courier_response.rb +13 -0
- data/lib/econt/models/shipments/request_courier_status.rb +14 -0
- data/lib/econt/models/shipments/request_courier_status_result_element.rb +14 -0
- data/lib/econt/models/shipments/return_instruction_params.rb +48 -0
- data/lib/econt/models/shipments/shipment_edition_response_element.rb +16 -0
- data/lib/econt/models/shipments/shipment_status.rb +64 -0
- data/lib/econt/models/shipments/shipment_status_result_element.rb +14 -0
- data/lib/econt/models/shipments/shipment_status_service.rb +16 -0
- data/lib/econt/models/shipments/shipment_tracking_event.rb +21 -0
- data/lib/econt/models/shipments/shipping_label.rb +59 -0
- data/lib/econt/models/shipments/shipping_label_services.rb +37 -0
- data/lib/econt/models/shipments/status_response.rb +11 -0
- data/lib/econt/models/shipments/update_label_response.rb +11 -0
- data/lib/econt/models/shipments/update_labels_result_element.rb +14 -0
- data/lib/econt/models/three_way_logistics/three_way_logistics.rb +50 -0
- data/lib/econt/models/three_way_logistics/three_way_logistics_response.rb +11 -0
- data/lib/econt/resource_attributes.rb +69 -0
- data/lib/econt/service_resource.rb +105 -0
- data/lib/econt/services/nomenclatures/address.rb +87 -0
- data/lib/econt/services/nomenclatures/nomenclatures.rb +122 -0
- data/lib/econt/services/nomenclatures.rb +11 -0
- data/lib/econt/services/payment_report/payment_report.rb +35 -0
- data/lib/econt/services/payment_report.rb +11 -0
- data/lib/econt/services/profile/profile.rb +45 -0
- data/lib/econt/services/profile.rb +11 -0
- data/lib/econt/services/shipments/label.rb +174 -0
- data/lib/econt/services/shipments/shipment.rb +109 -0
- data/lib/econt/services/shipments.rb +11 -0
- data/lib/econt/services/three_way_logistics/three_way_logistics.rb +30 -0
- data/lib/econt/services/three_way_logistics.rb +11 -0
- data/lib/econt/util.rb +63 -0
- data/lib/econt/version.rb +5 -0
- data/lib/econt.rb +118 -0
- data/sig/econt.rbs +465 -0
- metadata +166 -0
metadata
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: econt
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Boyan Georgiev
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: base64
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '0.3'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - "~>"
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '0.3'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: faraday
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '2.14'
|
|
33
|
+
- - "<"
|
|
34
|
+
- !ruby/object:Gem::Version
|
|
35
|
+
version: '3.0'
|
|
36
|
+
type: :runtime
|
|
37
|
+
prerelease: false
|
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
39
|
+
requirements:
|
|
40
|
+
- - ">="
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
version: '2.14'
|
|
43
|
+
- - "<"
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: '3.0'
|
|
46
|
+
description: A Faraday-backed Ruby client for Econt labels, shipment tracking, courier
|
|
47
|
+
requests, addresses, offices, profiles, and reports.
|
|
48
|
+
email:
|
|
49
|
+
- bbgeorgiev96@gmail.com
|
|
50
|
+
executables: []
|
|
51
|
+
extensions: []
|
|
52
|
+
extra_rdoc_files: []
|
|
53
|
+
files:
|
|
54
|
+
- CHANGELOG.md
|
|
55
|
+
- CODE_OF_CONDUCT.md
|
|
56
|
+
- CONTRIBUTING.md
|
|
57
|
+
- LICENSE.txt
|
|
58
|
+
- README.md
|
|
59
|
+
- SECURITY.md
|
|
60
|
+
- docs/API.md
|
|
61
|
+
- docs/ENDPOINTS.md
|
|
62
|
+
- docs/PUBLIC_API.md
|
|
63
|
+
- docs/RELEASING.md
|
|
64
|
+
- docs/RESPONSE_TESTS.md
|
|
65
|
+
- docs/VCR.md
|
|
66
|
+
- lib/econt.rb
|
|
67
|
+
- lib/econt/camel_case_middleware.rb
|
|
68
|
+
- lib/econt/client.rb
|
|
69
|
+
- lib/econt/collection.rb
|
|
70
|
+
- lib/econt/error.rb
|
|
71
|
+
- lib/econt/meta_resource.rb
|
|
72
|
+
- lib/econt/model.rb
|
|
73
|
+
- lib/econt/models/error.rb
|
|
74
|
+
- lib/econt/models/hosted_file.rb
|
|
75
|
+
- lib/econt/models/nomenclatures/address.rb
|
|
76
|
+
- lib/econt/models/nomenclatures/address_service_info.rb
|
|
77
|
+
- lib/econt/models/nomenclatures/address_service_times_response.rb
|
|
78
|
+
- lib/econt/models/nomenclatures/address_validation_response.rb
|
|
79
|
+
- lib/econt/models/nomenclatures/city.rb
|
|
80
|
+
- lib/econt/models/nomenclatures/country.rb
|
|
81
|
+
- lib/econt/models/nomenclatures/geo_location.rb
|
|
82
|
+
- lib/econt/models/nomenclatures/office.rb
|
|
83
|
+
- lib/econt/models/nomenclatures/quarter.rb
|
|
84
|
+
- lib/econt/models/nomenclatures/serving_office_element.rb
|
|
85
|
+
- lib/econt/models/nomenclatures/street.rb
|
|
86
|
+
- lib/econt/models/nomenclatures/working_date_time.rb
|
|
87
|
+
- lib/econt/models/nomenclatures/working_time.rb
|
|
88
|
+
- lib/econt/models/payment_report/payment_report_row.rb
|
|
89
|
+
- lib/econt/models/profile/cd_pay_options.rb
|
|
90
|
+
- lib/econt/models/profile/client_profile.rb
|
|
91
|
+
- lib/econt/models/profile/profiles_response_element.rb
|
|
92
|
+
- lib/econt/models/shipments/cargo_vehicle_options.rb
|
|
93
|
+
- lib/econt/models/shipments/check_possible_shipment_editions_result_element.rb
|
|
94
|
+
- lib/econt/models/shipments/create_label_result_element.rb
|
|
95
|
+
- lib/econt/models/shipments/customs_list_element.rb
|
|
96
|
+
- lib/econt/models/shipments/delete_labels_result_element.rb
|
|
97
|
+
- lib/econt/models/shipments/get_my_awb_response.rb
|
|
98
|
+
- lib/econt/models/shipments/get_my_awb_result_element.rb
|
|
99
|
+
- lib/econt/models/shipments/instruction.rb
|
|
100
|
+
- lib/econt/models/shipments/next_shipment_element.rb
|
|
101
|
+
- lib/econt/models/shipments/pack_element.rb
|
|
102
|
+
- lib/econt/models/shipments/packing_list_element.rb
|
|
103
|
+
- lib/econt/models/shipments/payment_addition_price.rb
|
|
104
|
+
- lib/econt/models/shipments/payment_instruction.rb
|
|
105
|
+
- lib/econt/models/shipments/previous_shipment.rb
|
|
106
|
+
- lib/econt/models/shipments/request_courier_response.rb
|
|
107
|
+
- lib/econt/models/shipments/request_courier_status.rb
|
|
108
|
+
- lib/econt/models/shipments/request_courier_status_result_element.rb
|
|
109
|
+
- lib/econt/models/shipments/return_instruction_params.rb
|
|
110
|
+
- lib/econt/models/shipments/shipment_edition_response_element.rb
|
|
111
|
+
- lib/econt/models/shipments/shipment_status.rb
|
|
112
|
+
- lib/econt/models/shipments/shipment_status_result_element.rb
|
|
113
|
+
- lib/econt/models/shipments/shipment_status_service.rb
|
|
114
|
+
- lib/econt/models/shipments/shipment_tracking_event.rb
|
|
115
|
+
- lib/econt/models/shipments/shipping_label.rb
|
|
116
|
+
- lib/econt/models/shipments/shipping_label_services.rb
|
|
117
|
+
- lib/econt/models/shipments/status_response.rb
|
|
118
|
+
- lib/econt/models/shipments/update_label_response.rb
|
|
119
|
+
- lib/econt/models/shipments/update_labels_result_element.rb
|
|
120
|
+
- lib/econt/models/three_way_logistics/three_way_logistics.rb
|
|
121
|
+
- lib/econt/models/three_way_logistics/three_way_logistics_response.rb
|
|
122
|
+
- lib/econt/resource_attributes.rb
|
|
123
|
+
- lib/econt/service_resource.rb
|
|
124
|
+
- lib/econt/services/nomenclatures.rb
|
|
125
|
+
- lib/econt/services/nomenclatures/address.rb
|
|
126
|
+
- lib/econt/services/nomenclatures/nomenclatures.rb
|
|
127
|
+
- lib/econt/services/payment_report.rb
|
|
128
|
+
- lib/econt/services/payment_report/payment_report.rb
|
|
129
|
+
- lib/econt/services/profile.rb
|
|
130
|
+
- lib/econt/services/profile/profile.rb
|
|
131
|
+
- lib/econt/services/shipments.rb
|
|
132
|
+
- lib/econt/services/shipments/label.rb
|
|
133
|
+
- lib/econt/services/shipments/shipment.rb
|
|
134
|
+
- lib/econt/services/three_way_logistics.rb
|
|
135
|
+
- lib/econt/services/three_way_logistics/three_way_logistics.rb
|
|
136
|
+
- lib/econt/util.rb
|
|
137
|
+
- lib/econt/version.rb
|
|
138
|
+
- sig/econt.rbs
|
|
139
|
+
homepage: https://github.com/BoyanGeorgiev96/econt
|
|
140
|
+
licenses:
|
|
141
|
+
- MIT
|
|
142
|
+
metadata:
|
|
143
|
+
homepage_uri: https://github.com/BoyanGeorgiev96/econt
|
|
144
|
+
source_code_uri: https://github.com/BoyanGeorgiev96/econt/tree/main
|
|
145
|
+
bug_tracker_uri: https://github.com/BoyanGeorgiev96/econt/issues
|
|
146
|
+
documentation_uri: https://github.com/BoyanGeorgiev96/econt/blob/main/docs/API.md
|
|
147
|
+
changelog_uri: https://github.com/BoyanGeorgiev96/econt/blob/main/CHANGELOG.md
|
|
148
|
+
rubygems_mfa_required: 'true'
|
|
149
|
+
rdoc_options: []
|
|
150
|
+
require_paths:
|
|
151
|
+
- lib
|
|
152
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
153
|
+
requirements:
|
|
154
|
+
- - ">="
|
|
155
|
+
- !ruby/object:Gem::Version
|
|
156
|
+
version: 3.3.0
|
|
157
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
|
+
requirements:
|
|
159
|
+
- - ">="
|
|
160
|
+
- !ruby/object:Gem::Version
|
|
161
|
+
version: '0'
|
|
162
|
+
requirements: []
|
|
163
|
+
rubygems_version: 4.0.20
|
|
164
|
+
specification_version: 4
|
|
165
|
+
summary: Econt API client for Ruby.
|
|
166
|
+
test_files: []
|