newgistics-api 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: adeb0dca14b7fd3f05d97e0f2d133e3248efab60
4
+ data.tar.gz: 1ac4045861b114bde4f3b225e6c2c2f0444aa0d3
5
+ SHA512:
6
+ metadata.gz: 099ffce4eb663a88a8ba4fbb5461b201618c8db783476e599eddb0ffc10d502452666e22411081e262eda88edf93d6dcb8245e3c2bd91d93644c9101ff854aa6
7
+ data.tar.gz: 80997b7e1d7fcbfd4ec690ab1880fbb4d4322036c3d55fc806147e7eaa78872a8a7a797ce0c1d7f63b401be51d55c7cf8c0434213e5e6f96a48cfa1fbee1100b
@@ -0,0 +1,6 @@
1
+ .DS_Store
2
+ .rspec_status
3
+ spec/api_credentials.yml
4
+ Gemfile.lock
5
+
6
+ *.gem
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at lorrain.florian@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in newgistics-api.gemspec
6
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 florrain
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.
@@ -0,0 +1,68 @@
1
+ # Newgistics::Api
2
+
3
+ A Ruby 2 client for the Newgistics API, free from dependencies.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'newgistics-api'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install newgistics-api
20
+
21
+ ## Usage
22
+
23
+ 1. Initialize the GEM:
24
+ ```ruby
25
+ NewgisticsApi.configure do |config|
26
+ config.api_key = api_credentials["api_key"]
27
+ config.host = api_credentials["host"]
28
+ end
29
+ ```
30
+
31
+ 2. Run a request
32
+ Each of the method arguments are passes as keyword arguments. You can find the supported methods in lib/newgistics_api.
33
+
34
+ For example, the tracking API takes 3 parameters: `def track_shipment(merchant_id: nil, qualifier: nil, search_strings: [])`:
35
+ ```ruby
36
+ response = NewgisticsApi::Tracking.new.track_shipment(merchant_id: "123", qualifier: "Barcode", search_strings: [721234567890])
37
+ ```
38
+
39
+ 3. Manipulate the response
40
+ ```ruby
41
+ response.success?
42
+
43
+ response.body # raw JSON body
44
+ response.parsed_body # JSON parsed body
45
+ response.decorated_response # decorated response if the class has a decorator
46
+ ```
47
+
48
+ ## Development
49
+
50
+ 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.
51
+
52
+ If you need to re-run VCR cassettes, `cp spec/api_credentials.yml.sample spec/api_credentials.yml` and update the file with your credentials. VCR is configured to anonymize the API_KEY and the HOST for you.
53
+
54
+ 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 tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
55
+
56
+ ## Contributing
57
+
58
+ Bug reports and pull requests are welcome on GitHub at https://github.com/thredup/newgistics-api. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
59
+
60
+ Before pushing your changes, make sure you worked on the test coverage and your test files and VCR cassettes don't contain any credentials or any kind of critical information.
61
+
62
+ ## License
63
+
64
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
65
+
66
+ ## Code of Conduct
67
+
68
+ Everyone interacting in the Newgistics::Api project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/thredup/newgistics-api/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "newgistics/api"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,21 @@
1
+ require "newgistics_api/version"
2
+ require "newgistics_api/configuration"
3
+
4
+ module NewgisticsApi
5
+ class << self
6
+ attr_accessor :configuration
7
+ end
8
+
9
+ def self.configuration
10
+ @configuration ||= Configuration.new
11
+ end
12
+
13
+ def self.configure
14
+ yield(configuration)
15
+ end
16
+ end
17
+
18
+ require "newgistics_api/exceptions/not_found_shipment_error"
19
+ require "newgistics_api/client"
20
+ require "newgistics_api/shipment"
21
+ require "newgistics_api/tracking"
@@ -0,0 +1,57 @@
1
+ module NewgisticsApi
2
+ class Client
3
+ def make_request(method, path)
4
+ uri = URI.parse("#{host}#{path}")
5
+
6
+ http = Net::HTTP.new(uri.host, uri.port)
7
+ http.use_ssl = true
8
+
9
+ request = Net::HTTP.const_get(method.to_s.downcase.capitalize).new(uri.request_uri)
10
+ request.add_field("X-API-Key", api_key)
11
+ request["Accept"] = "application/json"
12
+
13
+ if block_given?
14
+ block_output = yield
15
+
16
+ raise TypeError, "The output of the block must be a Hash" unless block_output.is_a?(Hash)
17
+
18
+ request.body = block_output.to_json
19
+ request["Content-Type"] = "application/json"
20
+ end
21
+
22
+ response = http.request(request)
23
+
24
+ Response.new(self.class, response)
25
+ end
26
+
27
+ private
28
+
29
+ def host
30
+ NewgisticsApi.configuration.host
31
+ end
32
+
33
+ def api_key
34
+ NewgisticsApi.configuration.api_key
35
+ end
36
+
37
+ class Response
38
+ attr_reader :response, :parsed_body, :decorated_response
39
+
40
+ def initialize(class_object, response)
41
+ @class_object = class_object
42
+ @response = response
43
+ @parsed_body = JSON.parse(response.body)
44
+ @decorated_response = class_object.const_defined?(:Decorator) ? class_object::Decorator.decorate(body) : nil
45
+ end
46
+
47
+ def body
48
+ @parsed_body
49
+ end
50
+
51
+ def success?
52
+ response.is_a?(Net::HTTPOK) || response.is_a?(Net::HTTPSuccess)
53
+ end
54
+
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,10 @@
1
+ module NewgisticsApi
2
+ class Configuration
3
+ attr_accessor :api_key, :host
4
+
5
+ def initialize
6
+ @api_key = nil
7
+ @host = nil
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,6 @@
1
+ module NewgisticsApi
2
+ module Exceptions
3
+ class NotFoundShipmentError < StandardError
4
+ end
5
+ end
6
+ end
@@ -0,0 +1,40 @@
1
+ module NewgisticsApi
2
+ class Shipment < Client
3
+ def create_shipment(additional_data: nil, consumer: nil, client_service_flag: nil, disposition_rule_set_id: nil, label_count: nil, merchant_id: nil, return_id: nil, show_zpl_link: false)
4
+ make_request(:post, "/WebAPI/Shipment/") do
5
+ {
6
+ "additionalData" => additional_data.map do |name, value|
7
+ { "Name" => name, "Value" => value }
8
+ end,
9
+ "clientServiceFlag" => client_service_flag,
10
+ "consumer" => {
11
+ "Address" => {
12
+ "Address1" => consumer["Address"]["Address1"],
13
+ "Address2" => consumer["Address"]["Address2"],
14
+ "Address3" => consumer["Address"]["Address3"],
15
+ "City" => consumer["Address"]["City"],
16
+ "CountryCode" => consumer["Address"]["CountryCode"],
17
+ "Name" => consumer["Address"]["Name"],
18
+ "State" => consumer["Address"]["State"],
19
+ "Zip" => consumer["Address"]["Zip"],
20
+ },
21
+ "DaytimePhoneNumber" => consumer["Address"]["DaytimePhoneNumber"],
22
+ "EveningPhoneNumber" => consumer["Address"]["EveningPhoneNumber"],
23
+ "FaxNumber" => consumer["Address"]["FaxNumber"],
24
+ "FirstName" => consumer["FirstName"],
25
+ "Honorific" => consumer["Honorific"],
26
+ "LastName" => consumer["LastName"],
27
+ "MiddleInitial" => consumer["MiddleInitial"],
28
+ "PrimaryEmailAddress" => consumer["PrimaryEmailAddress"],
29
+ },
30
+ "deliveryMethod" => "SelfService",
31
+ "dispositionRuleSetId" => disposition_rule_set_id,
32
+ "labelCount" => label_count,
33
+ "merchantID" => merchant_id,
34
+ "returnId" => return_id,
35
+ "showZplLink" => show_zpl_link
36
+ }
37
+ end
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,95 @@
1
+ module NewgisticsApi
2
+ class Tracking < Client
3
+ SERVICE_TYPES = [
4
+ SERVICE_SHIPMENT = "SHIPMENT", # Outbound
5
+ SERVICE_RETURN = "RETURN" # Inbound
6
+ ]
7
+
8
+ # Shipment codes
9
+ SHIPMENT_SHIPPED_CODES = %w(PSC IPS)
10
+ SHIPMENT_DELIVERED_CODES = %w(DEL)
11
+
12
+ # Return codes
13
+ RETURN_SHIPPED_CODES = %w(PUU UPROC)
14
+ RETURN_DELIVERED_CODES = %w(DRC)
15
+
16
+ SHIPPED_CODES = SHIPMENT_SHIPPED_CODES | RETURN_SHIPPED_CODES
17
+ DELIVERED_CODES = SHIPMENT_DELIVERED_CODES | RETURN_DELIVERED_CODES
18
+
19
+ STATUSES = [
20
+ STATUS_CREATED = "Created",
21
+ STATUS_DELIVERED = "Delivered",
22
+ STATUS_DEPARTED = "Departed",
23
+ STATUS_EXCEPTION = "Exception",
24
+ STATUS_IN_TRANSIT = "InTransit",
25
+ STATUS_IN_USPS_NETWORK = "InUSPSNetwork",
26
+ STATUS_NOT_FOUND = "NotFound",
27
+ STATUS_RECEIVED = "Received",
28
+ STATUS_UNKNOWN = "Unknown"
29
+ ]
30
+
31
+ def track_shipment(merchant_id: nil, qualifier: nil, search_strings: [])
32
+ make_request(:post, "/WebAPI/Shipment/Tracking") do
33
+ {
34
+ "merchantID" => merchant_id,
35
+ "qualifier" => qualifier,
36
+ "searchStrings" => search_strings
37
+ }
38
+ end
39
+ end
40
+
41
+ class Decorator
42
+ def self.decorate(response)
43
+ return {} if (package = (response["Packages"] || [])[0]).nil?
44
+ return {} if (events = package["PackageTrackingEvents"] || []).empty?
45
+
46
+ raise NewgisticsApi::NotFoundTrackingNumberError.new if response["Status"] == STATUS_NOT_FOUND
47
+
48
+ # Outbound - packages shipped from the DC
49
+ # Inbound - packages handed by the customer to the carrier
50
+ shipped_event = events.find { |event| event && SHIPPED_CODES.include?(event["EventCode"]) }
51
+ delivered_event = events.find { |event| event && DELIVERED_CODES.include?(event["EventCode"]) }
52
+
53
+ {
54
+ ngst_status: package["Status"],
55
+ simple_status: determine_simple_status(
56
+ package,
57
+ shipped_event,
58
+ delivered_event
59
+ ),
60
+ all_events: events,
61
+ relevant_events: {
62
+ shipped: shipped_event ? { timestamp: parse_event_date(shipped_event), details: shipped_event } : nil,
63
+ delivered: delivered_event ? { timestamp: parse_event_date(delivered_event), details: delivered_event } : nil
64
+ }
65
+ }
66
+ end
67
+
68
+ private
69
+
70
+ # What interests us is either the package is in states:
71
+ # - shipped (shipments)
72
+ # - delivered (shipments and returns)
73
+ # - inbound (returns)
74
+ def self.determine_simple_status(package, shipped_event, delivered_event)
75
+ status = package["Status"]
76
+ service = package["Service"]
77
+
78
+ return "delivered" if delivered_event
79
+ if shipped_event
80
+ return "inbound" if service == SERVICE_RETURN
81
+ return "shipped"
82
+ end
83
+ return status if status == STATUS_UNKNOWN
84
+ return "created" if status == STATUS_CREATED
85
+ end
86
+
87
+ def self.parse_event_date(event)
88
+ return unless event
89
+ return if (date = event["Date"]).match(%r(^\/Date\((.*)-)).nil?
90
+ time = date.match(%r(^\/Date\((.*)-))[1]
91
+ Time.at(time.to_i / 1000)
92
+ end
93
+ end
94
+ end
95
+ end
@@ -0,0 +1,3 @@
1
+ module NewgisticsApi
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,30 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "newgistics_api/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "newgistics-api"
8
+ spec.version = NewgisticsApi::VERSION
9
+ spec.platform = Gem::Platform::RUBY
10
+ spec.authors = ["florrain"]
11
+ spec.email = ["florian.lorrain@thredup.com"]
12
+
13
+ spec.summary = %q{Ruby client for the Newgistics API}
14
+ spec.description = %q{Ruby client for the Newgistics API}
15
+ spec.homepage = "https://github.com/thredup/newgistics-api"
16
+ spec.license = "MIT"
17
+
18
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
19
+ f.match(%r{^(test|spec|features)/})
20
+ end
21
+
22
+ spec.required_ruby_version = "~> 2.0"
23
+ spec.require_paths = ["lib"]
24
+
25
+ spec.add_development_dependency "bundler", "~> 1.15"
26
+ spec.add_development_dependency "rake", "~> 10.0"
27
+ spec.add_development_dependency "rspec", "~> 3.0"
28
+ spec.add_development_dependency "vcr", "~> 3.0"
29
+ spec.add_development_dependency "webmock", "2.3.2"
30
+ end
metadata ADDED
@@ -0,0 +1,130 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: newgistics-api
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - florrain
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-11-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.15'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.15'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
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
+ - !ruby/object:Gem::Dependency
56
+ name: vcr
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: webmock
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '='
74
+ - !ruby/object:Gem::Version
75
+ version: 2.3.2
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '='
81
+ - !ruby/object:Gem::Version
82
+ version: 2.3.2
83
+ description: Ruby client for the Newgistics API
84
+ email:
85
+ - florian.lorrain@thredup.com
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - ".gitignore"
91
+ - CODE_OF_CONDUCT.md
92
+ - Gemfile
93
+ - LICENSE.txt
94
+ - README.md
95
+ - Rakefile
96
+ - bin/console
97
+ - bin/setup
98
+ - lib/newgistics_api.rb
99
+ - lib/newgistics_api/client.rb
100
+ - lib/newgistics_api/configuration.rb
101
+ - lib/newgistics_api/exceptions/not_found_shipment_error.rb
102
+ - lib/newgistics_api/shipment.rb
103
+ - lib/newgistics_api/tracking.rb
104
+ - lib/newgistics_api/version.rb
105
+ - newgistics-api.gemspec
106
+ homepage: https://github.com/thredup/newgistics-api
107
+ licenses:
108
+ - MIT
109
+ metadata: {}
110
+ post_install_message:
111
+ rdoc_options: []
112
+ require_paths:
113
+ - lib
114
+ required_ruby_version: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - "~>"
117
+ - !ruby/object:Gem::Version
118
+ version: '2.0'
119
+ required_rubygems_version: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ requirements: []
125
+ rubyforge_project:
126
+ rubygems_version: 2.6.11
127
+ signing_key:
128
+ specification_version: 4
129
+ summary: Ruby client for the Newgistics API
130
+ test_files: []