dhl_freight_api 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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 14f4f30f6bfbda380d164874d31076aacfc12e25795e909abd671506c0aef68b
4
+ data.tar.gz: 2357e6b0d4c2acc36f995d21cd79ed014511b9cf8f71e4abe1e1c0d226af5813
5
+ SHA512:
6
+ metadata.gz: 2405c87e851d577d1cf70665b3d2a7806d9da4b983f03f25ff11f18916893bc18a8a568002737345af8d0f01e70fe4744759f142272de65d4615fc18171a9e24
7
+ data.tar.gz: 925bb2695c16eb0b4c7aae80efa26cd4b66b492559da73521275d7261bdc4dace209c841b984391ffe7ba5516bcbce80be117b0caece9e7abfea470e7f644db1
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2026-03-05
4
+
5
+ - Initial release
@@ -0,0 +1,132 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, caste, color, religion, or sexual
10
+ identity and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Our Standards
16
+
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
19
+
20
+ * Demonstrating empathy and kindness toward other people
21
+ * Being respectful of differing opinions, viewpoints, and experiences
22
+ * Giving and gracefully accepting constructive feedback
23
+ * Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the overall
26
+ community
27
+
28
+ Examples of unacceptable behavior include:
29
+
30
+ * The use of sexualized language or imagery, and sexual attention or advances of
31
+ any kind
32
+ * Trolling, insulting or derogatory comments, and personal or political attacks
33
+ * Public or private harassment
34
+ * Publishing others' private information, such as a physical or email address,
35
+ without their explicit permission
36
+ * Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
38
+
39
+ ## Enforcement Responsibilities
40
+
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
45
+
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
50
+
51
+ ## Scope
52
+
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official email address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ [INSERT CONTACT METHOD].
64
+ All complaints will be reviewed and investigated promptly and fairly.
65
+
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
68
+
69
+ ## Enforcement Guidelines
70
+
71
+ Community leaders will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
73
+
74
+ ### 1. Correction
75
+
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
78
+
79
+ **Consequence**: A private, written warning from community leaders, providing
80
+ clarity around the nature of the violation and an explanation of why the
81
+ behavior was inappropriate. A public apology may be requested.
82
+
83
+ ### 2. Warning
84
+
85
+ **Community Impact**: A violation through a single incident or series of
86
+ actions.
87
+
88
+ **Consequence**: A warning with consequences for continued behavior. No
89
+ interaction with the people involved, including unsolicited interaction with
90
+ those enforcing the Code of Conduct, for a specified period of time. This
91
+ includes avoiding interactions in community spaces as well as external channels
92
+ like social media. Violating these terms may lead to a temporary or permanent
93
+ ban.
94
+
95
+ ### 3. Temporary Ban
96
+
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
99
+
100
+ **Consequence**: A temporary ban from any sort of interaction or public
101
+ communication with the community for a specified period of time. No public or
102
+ private interaction with the people involved, including unsolicited interaction
103
+ with those enforcing the Code of Conduct, is allowed during this period.
104
+ Violating these terms may lead to a permanent ban.
105
+
106
+ ### 4. Permanent Ban
107
+
108
+ **Community Impact**: Demonstrating a pattern of violation of community
109
+ standards, including sustained inappropriate behavior, harassment of an
110
+ individual, or aggression toward or disparagement of classes of individuals.
111
+
112
+ **Consequence**: A permanent ban from any sort of public interaction within the
113
+ community.
114
+
115
+ ## Attribution
116
+
117
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
+ version 2.1, available at
119
+ [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
120
+
121
+ Community Impact Guidelines were inspired by
122
+ [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
123
+
124
+ For answers to common questions about this code of conduct, see the FAQ at
125
+ [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
126
+ [https://www.contributor-covenant.org/translations][translations].
127
+
128
+ [homepage]: https://www.contributor-covenant.org
129
+ [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
130
+ [Mozilla CoC]: https://github.com/mozilla/diversity
131
+ [FAQ]: https://www.contributor-covenant.org/faq
132
+ [translations]: https://www.contributor-covenant.org/translations
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2026 Andy Chong
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,157 @@
1
+ # DhlFreightApi
2
+
3
+ A Ruby gem wrapper for the DHL Freight API.
4
+
5
+ ## Installation
6
+
7
+ Install the gem and add to the application's Gemfile by executing:
8
+
9
+ ```bash
10
+ bundle add dhl_freight_api
11
+ ```
12
+
13
+ If bundler is not being used to manage dependencies, install the gem by executing:
14
+
15
+ ```bash
16
+ gem install dhl_freight_api
17
+ ```
18
+
19
+ ## Usage
20
+
21
+ Initialize the client with your DHL Freight `client-key`:
22
+
23
+ ```ruby
24
+ client = DhlFreightApi::Client.new(
25
+ "YOUR_CLIENT_KEY",
26
+ prod: false # false => test, true => production
27
+ )
28
+ ```
29
+
30
+ ### Environment Domains
31
+
32
+ - `prod: false` uses `https://test-api.freight-logistics.dhl.com`
33
+ - `prod: true` uses `https://api.freight-logistics.dhl.com`
34
+
35
+ ### Error Handling
36
+
37
+ API failures raise `DhlFreightApi::Error`.
38
+
39
+ ```ruby
40
+ begin
41
+ client.shipment_booking.create(payload)
42
+ rescue DhlFreightApi::Error => error
43
+ puts error.message
44
+ puts error.response_http_code
45
+ puts error.response_body
46
+ end
47
+ ```
48
+
49
+ The wrapper raises on:
50
+
51
+ - non-2xx HTTP responses
52
+ - business validation responses with `status: "Error"` from ShipmentBooking (even when HTTP is `200`)
53
+
54
+ ### Shipment Booking
55
+
56
+ Create a shipment booking:
57
+
58
+ ```ruby
59
+ payload = {
60
+ "id" => "",
61
+ "productCode" => "107",
62
+ "totalNumberOfPieces" => 1,
63
+ "totalWeight" => 10,
64
+ "totalVolume" => 0.05,
65
+ "references" => [{ "qualifier" => "CU", "value" => "Elin000123" }],
66
+ "payerCode" => { "code" => "001" },
67
+ "parties" => [
68
+ {
69
+ "id" => "111111",
70
+ "type" => "Consignee",
71
+ "name" => "Consignor Company AB",
72
+ "address" => {
73
+ "street" => "Gustav III:s Boulevard 18",
74
+ "cityName" => "Solna",
75
+ "postalCode" => "16973",
76
+ "countryCode" => "SE"
77
+ },
78
+ "phone" => "+46701234567",
79
+ "email" => "name@consignorcompany.se"
80
+ }
81
+ ],
82
+ "pieces" => [
83
+ {
84
+ "packageType" => "PKT",
85
+ "numberOfPieces" => 1,
86
+ "weight" => 10,
87
+ "volume" => 0.05,
88
+ "length" => 30,
89
+ "width" => 20,
90
+ "height" => 15
91
+ }
92
+ ]
93
+ }
94
+
95
+ booking = client.shipment_booking.create(payload)
96
+
97
+ puts booking.status
98
+ puts booking.transport_instruction.id
99
+ puts booking.raw
100
+ ```
101
+
102
+ ### Print Documents
103
+
104
+ Request print documents by shipment IDs:
105
+
106
+ ```ruby
107
+ payload = {
108
+ "shipmentIds" => ["2906221086"],
109
+ "options" => {
110
+ "label" => true,
111
+ "shipmentList" => false,
112
+ "waybill" => false,
113
+ "guarantee" => false,
114
+ "returnLabel" => false,
115
+ "licensePlateBarCode" => "GS1",
116
+ "pageOptions" => {
117
+ "pageType" => "Label",
118
+ "marginLeft" => 0,
119
+ "marginTop" => 0,
120
+ "padding" => 0
121
+ }
122
+ }
123
+ }
124
+
125
+ print_result = client.print.documents_by_id(payload)
126
+
127
+ # Raw base64 string is preserved as-is
128
+ base64_pdf = print_result.reports.first.content
129
+ puts base64_pdf[0..30]
130
+ ```
131
+
132
+ To decode outside the wrapper:
133
+
134
+ ```ruby
135
+ require "base64"
136
+
137
+ binary_pdf = Base64.decode64(base64_pdf)
138
+ File.binwrite("label.pdf", binary_pdf)
139
+ ```
140
+
141
+ ## Development
142
+
143
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
144
+
145
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
146
+
147
+ ## Contributing
148
+
149
+ Bug reports and pull requests are welcome on GitHub at https://github.com/andychong/dhl_freight_api. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/andychong/dhl_freight_api/blob/main/CODE_OF_CONDUCT.md).
150
+
151
+ ## License
152
+
153
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
154
+
155
+ ## Code of Conduct
156
+
157
+ Everyone interacting in the DhlFreightApi project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/andychong/dhl_freight_api/blob/main/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require "standard/rake"
9
+
10
+ task default: %i[spec standard]
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "faraday"
4
+
5
+ module DhlFreightApi
6
+ class Client
7
+ def initialize(client_key, prod: false)
8
+ @client_key = client_key
9
+ @prod = prod
10
+ end
11
+
12
+ def base_url
13
+ if @prod
14
+ "https://api.freight-logistics.dhl.com"
15
+ else
16
+ "https://test-api.freight-logistics.dhl.com"
17
+ end
18
+ end
19
+
20
+ def connection
21
+ @connection ||= Faraday.new do |f|
22
+ f.request :json
23
+ f.response :json
24
+ f.headers["client-key"] = @client_key
25
+ f.headers["Content-Type"] = "application/json"
26
+ end
27
+ end
28
+
29
+ def shipment_booking
30
+ Resources::ShipmentBooking.new(self)
31
+ end
32
+
33
+ def print
34
+ Resources::Print.new(self)
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,63 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "active_support"
4
+ require "active_support/core_ext/string"
5
+ require "ostruct"
6
+
7
+ module DhlFreightApi
8
+ module Objects
9
+ class Base < OpenStruct
10
+ attr_reader :original_response
11
+
12
+ def initialize(attributes)
13
+ @original_response = deep_freeze_object(attributes)
14
+ super(to_ostruct(attributes))
15
+ end
16
+
17
+ def to_ostruct(obj)
18
+ if obj.is_a?(Hash)
19
+ OpenStruct.new(obj.transform_keys { |key| key.to_s.underscore }.transform_values { |val| to_ostruct(val) })
20
+ elsif obj.is_a?(Array)
21
+ obj.map { |o| to_ostruct(o) }
22
+ else
23
+ obj
24
+ end
25
+ end
26
+
27
+ def to_hash
28
+ ostruct_to_hash(self)
29
+ end
30
+
31
+ def raw
32
+ @original_response
33
+ end
34
+
35
+ private
36
+
37
+ def deep_freeze_object(obj)
38
+ case obj
39
+ when Hash
40
+ obj.transform_values { |value| deep_freeze_object(value) }.freeze
41
+ when Array
42
+ obj.map { |item| deep_freeze_object(item) }.freeze
43
+ else
44
+ obj.respond_to?(:freeze) ? obj.freeze : obj
45
+ end
46
+ end
47
+
48
+ def ostruct_to_hash(object)
49
+ case object
50
+ when OpenStruct
51
+ hash = object.to_h.except(:table)
52
+ hash.transform_keys(&:to_s).transform_values { |value| ostruct_to_hash(value) }
53
+ when Array
54
+ object.map { |item| ostruct_to_hash(item) }
55
+ when Hash
56
+ object.transform_keys(&:to_s).transform_values { |value| ostruct_to_hash(value) }
57
+ else
58
+ object
59
+ end
60
+ end
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DhlFreightApi
4
+ module Objects
5
+ class Print < Base
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DhlFreightApi
4
+ module Objects
5
+ class ShipmentBooking < Base
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DhlFreightApi
4
+ module Resources
5
+ class Print
6
+ def initialize(client)
7
+ @client = client
8
+ end
9
+
10
+ def base_url
11
+ "#{@client.base_url}/printapi/v1/print/printdocumentsbyid"
12
+ end
13
+
14
+ def documents_by_id(payload)
15
+ response = @client.connection.post(base_url, payload)
16
+
17
+ if response.success?
18
+ Objects::Print.new(response.body)
19
+ else
20
+ raise DhlFreightApi::Error.new(
21
+ "Failed to print documents by ID: #{response.status} - #{response.body}",
22
+ response_http_code: response.status,
23
+ response_body: response.body
24
+ )
25
+ end
26
+ end
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DhlFreightApi
4
+ module Resources
5
+ class ShipmentBooking
6
+ def initialize(client)
7
+ @client = client
8
+ end
9
+
10
+ def base_url
11
+ "#{@client.base_url}/transportinstructionapi/v1/transportinstruction/sendtransportinstruction"
12
+ end
13
+
14
+ def create(payload)
15
+ response = @client.connection.post(base_url, payload)
16
+
17
+ if response.success?
18
+ handle_business_response(response)
19
+ else
20
+ raise_error("Failed to create shipment booking", response)
21
+ end
22
+ end
23
+
24
+ private
25
+
26
+ def handle_business_response(response)
27
+ if response.body.is_a?(Hash) && response.body["status"] == "Error"
28
+ raise_error("Shipment booking returned business validation errors", response)
29
+ end
30
+
31
+ Objects::ShipmentBooking.new(response.body)
32
+ end
33
+
34
+ def raise_error(message, response)
35
+ raise DhlFreightApi::Error.new(
36
+ "#{message}: #{response.status} - #{response.body}",
37
+ response_http_code: response.status,
38
+ response_body: response.body
39
+ )
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DhlFreightApi
4
+ VERSION = "0.1.0"
5
+ end
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "dhl_freight_api/version"
4
+ require_relative "dhl_freight_api/objects/base"
5
+ require_relative "dhl_freight_api/objects/shipment_booking"
6
+ require_relative "dhl_freight_api/objects/print"
7
+ require_relative "dhl_freight_api/client"
8
+ require_relative "dhl_freight_api/resources/shipment_booking"
9
+ require_relative "dhl_freight_api/resources/print"
10
+
11
+ module DhlFreightApi
12
+ class Error < StandardError
13
+ attr_reader :response_http_code, :response_body
14
+
15
+ def initialize(message = nil, response_http_code: nil, response_body: nil)
16
+ @response_http_code = response_http_code
17
+ @response_body = response_body
18
+ super(message)
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,44 @@
1
+ module DhlFreightApi
2
+ VERSION: String
3
+
4
+ class Error < ::StandardError
5
+ attr_reader response_http_code: Integer?
6
+ attr_reader response_body: untyped
7
+
8
+ def initialize: (?String message, ?response_http_code: Integer, ?response_body: untyped) -> void
9
+ end
10
+
11
+ class Client
12
+ def initialize: (String client_key, ?prod: bool) -> void
13
+ def base_url: -> String
14
+ def connection: -> untyped
15
+ def shipment_booking: -> Resources::ShipmentBooking
16
+ def print: -> Resources::Print
17
+ end
18
+
19
+ module Objects
20
+ class Base
21
+ def initialize: (untyped attributes) -> void
22
+ def to_hash: -> Hash[String, untyped]
23
+ def raw: -> untyped
24
+ end
25
+
26
+ class ShipmentBooking < Base
27
+ end
28
+
29
+ class Print < Base
30
+ end
31
+ end
32
+
33
+ module Resources
34
+ class ShipmentBooking
35
+ def initialize: (Client client) -> void
36
+ def create: (Hash[String, untyped] payload) -> Objects::ShipmentBooking
37
+ end
38
+
39
+ class Print
40
+ def initialize: (Client client) -> void
41
+ def documents_by_id: (Hash[String, untyped] payload) -> Objects::Print
42
+ end
43
+ end
44
+ end
metadata ADDED
@@ -0,0 +1,104 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dhl_freight_api
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Andy Chong
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2026-03-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: faraday
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: activesupport
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '6.1'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '6.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: webmock
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ description: Provides a Ruby interface for DHL Freight APIs including Shipment Booking
56
+ and Print.
57
+ email:
58
+ - andygg1996personal@gmail.com
59
+ executables: []
60
+ extensions: []
61
+ extra_rdoc_files: []
62
+ files:
63
+ - CHANGELOG.md
64
+ - CODE_OF_CONDUCT.md
65
+ - LICENSE.txt
66
+ - README.md
67
+ - Rakefile
68
+ - lib/dhl_freight_api.rb
69
+ - lib/dhl_freight_api/client.rb
70
+ - lib/dhl_freight_api/objects/base.rb
71
+ - lib/dhl_freight_api/objects/print.rb
72
+ - lib/dhl_freight_api/objects/shipment_booking.rb
73
+ - lib/dhl_freight_api/resources/print.rb
74
+ - lib/dhl_freight_api/resources/shipment_booking.rb
75
+ - lib/dhl_freight_api/version.rb
76
+ - sig/dhl_freight_api.rbs
77
+ homepage: https://github.com/andychong/dhl_freight_api
78
+ licenses:
79
+ - MIT
80
+ metadata:
81
+ allowed_push_host: https://rubygems.org
82
+ homepage_uri: https://github.com/andychong/dhl_freight_api
83
+ source_code_uri: https://github.com/andychong/dhl_freight_api
84
+ changelog_uri: https://github.com/andychong/dhl_freight_api/blob/main/CHANGELOG.md
85
+ post_install_message:
86
+ rdoc_options: []
87
+ require_paths:
88
+ - lib
89
+ required_ruby_version: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: 3.2.0
94
+ required_rubygems_version: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - ">="
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ requirements: []
100
+ rubygems_version: 3.5.22
101
+ signing_key:
102
+ specification_version: 4
103
+ summary: A Ruby wrapper for the DHL Freight API.
104
+ test_files: []