seko_ecom_api 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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: cd52f793929f84a440a74e2170e943719a1db83c26340c440ba85db6e89b0dd0
4
+ data.tar.gz: 9c86a38d6183547d6f06a3a680685f85e5981b9520fefd4ca152cbaccfe77330
5
+ SHA512:
6
+ metadata.gz: 18d06b8c534513c5ac781a50c3691bbe941f1d189c5e1c1470d5e0115b3abd70879795da67efe65f1f672730ab6977c03f6e015b88a107c8ac2de53cdd89bd8c
7
+ data.tar.gz: 98b548e8646b07a9e916468287046aeb7f833aea20192e1cb5c58789251353ecb9cde3ddeba0586aad99d98cea71279a9f55735a680fcfbd84a52e5f04cfb794
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --require spec_helper
2
+ --color
data/.rubocop.yml ADDED
@@ -0,0 +1,7 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.6
3
+
4
+ Layout/LineLength:
5
+ Max: 120
6
+
7
+
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2023-05-23
4
+
5
+ - Initial release
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at jane.trangm@gmail.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in seko_ecom_api.gemspec
6
+ gemspec
7
+
8
+ gem 'rake', '~> 13.0'
9
+ gem 'rubocop', '~> 1.21'
data/Gemfile.lock ADDED
@@ -0,0 +1,113 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ seko_ecom_api (0.1.0)
5
+ activesupport
6
+ faraday (~> 2.7)
7
+ faraday-encoding
8
+ faraday-http
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ activesupport (7.0.5)
14
+ concurrent-ruby (~> 1.0, >= 1.0.2)
15
+ i18n (>= 1.6, < 2)
16
+ minitest (>= 5.1)
17
+ tzinfo (~> 2.0)
18
+ addressable (2.8.4)
19
+ public_suffix (>= 2.0.2, < 6.0)
20
+ ast (2.4.2)
21
+ coderay (1.1.3)
22
+ concurrent-ruby (1.2.2)
23
+ diff-lcs (1.5.0)
24
+ domain_name (0.5.20190701)
25
+ unf (>= 0.0.5, < 1.0.0)
26
+ dotenv (2.8.1)
27
+ faraday (2.7.4)
28
+ faraday-net_http (>= 2.0, < 3.1)
29
+ ruby2_keywords (>= 0.0.4)
30
+ faraday-encoding (0.0.5)
31
+ faraday
32
+ faraday-http (2.0.0)
33
+ faraday (~> 2.5)
34
+ http (>= 4.0, < 6)
35
+ faraday-net_http (3.0.2)
36
+ ffi (1.15.5)
37
+ ffi-compiler (1.0.1)
38
+ ffi (>= 1.0.0)
39
+ rake
40
+ http (5.1.1)
41
+ addressable (~> 2.8)
42
+ http-cookie (~> 1.0)
43
+ http-form_data (~> 2.2)
44
+ llhttp-ffi (~> 0.4.0)
45
+ http-cookie (1.0.5)
46
+ domain_name (~> 0.5)
47
+ http-form_data (2.3.0)
48
+ i18n (1.14.1)
49
+ concurrent-ruby (~> 1.0)
50
+ json (2.6.3)
51
+ llhttp-ffi (0.4.0)
52
+ ffi-compiler (~> 1.0)
53
+ rake (~> 13.0)
54
+ method_source (1.0.0)
55
+ minitest (5.18.0)
56
+ parallel (1.23.0)
57
+ parser (3.2.2.1)
58
+ ast (~> 2.4.1)
59
+ pry (0.14.2)
60
+ coderay (~> 1.1)
61
+ method_source (~> 1.0)
62
+ public_suffix (5.0.1)
63
+ rainbow (3.1.1)
64
+ rake (13.0.6)
65
+ regexp_parser (2.8.0)
66
+ rexml (3.2.5)
67
+ rspec (3.12.0)
68
+ rspec-core (~> 3.12.0)
69
+ rspec-expectations (~> 3.12.0)
70
+ rspec-mocks (~> 3.12.0)
71
+ rspec-core (3.12.2)
72
+ rspec-support (~> 3.12.0)
73
+ rspec-expectations (3.12.3)
74
+ diff-lcs (>= 1.2.0, < 2.0)
75
+ rspec-support (~> 3.12.0)
76
+ rspec-mocks (3.12.5)
77
+ diff-lcs (>= 1.2.0, < 2.0)
78
+ rspec-support (~> 3.12.0)
79
+ rspec-support (3.12.0)
80
+ rubocop (1.51.0)
81
+ json (~> 2.3)
82
+ parallel (~> 1.10)
83
+ parser (>= 3.2.0.0)
84
+ rainbow (>= 2.2.2, < 4.0)
85
+ regexp_parser (>= 1.8, < 3.0)
86
+ rexml (>= 3.2.5, < 4.0)
87
+ rubocop-ast (>= 1.28.0, < 2.0)
88
+ ruby-progressbar (~> 1.7)
89
+ unicode-display_width (>= 2.4.0, < 3.0)
90
+ rubocop-ast (1.28.1)
91
+ parser (>= 3.2.1.0)
92
+ ruby-progressbar (1.13.0)
93
+ ruby2_keywords (0.0.5)
94
+ tzinfo (2.0.6)
95
+ concurrent-ruby (~> 1.0)
96
+ unf (0.1.4)
97
+ unf_ext
98
+ unf_ext (0.0.8.2)
99
+ unicode-display_width (2.4.2)
100
+
101
+ PLATFORMS
102
+ arm64-darwin-21
103
+
104
+ DEPENDENCIES
105
+ dotenv
106
+ pry
107
+ rake (~> 13.0)
108
+ rspec
109
+ rubocop (~> 1.21)
110
+ seko_ecom_api!
111
+
112
+ BUNDLED WITH
113
+ 2.3.18
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2023 JM
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,91 @@
1
+ # SekoEcomApi
2
+
3
+ An API wrapper gem for Seko OmniReturns
4
+
5
+ - OmniReturns
6
+
7
+ - Shipment Creation
8
+
9
+ - OmniParcel
10
+
11
+ - Available Rates
12
+
13
+ ## Installation
14
+
15
+ Add this line to your application's Gemfile:
16
+
17
+ ```ruby
18
+ gem "seko_ecom_api"
19
+ ```
20
+
21
+ And then execute:
22
+
23
+ $ bundle install
24
+
25
+ Or install it yourself as:
26
+
27
+ $ gem install seko_ecom_api
28
+
29
+ ## Usage
30
+
31
+ ### OmniReturns
32
+
33
+ ```ruby
34
+ omni_returns_client = SekoEcomAPI::OmniReturnsClient.new(access_key: ENV['ACCESS_KEY'])
35
+
36
+ # Create shiment (or label creation)
37
+ omni_returns_client.create_shipment(params)
38
+
39
+ # Params' keys should be in snake case
40
+ # For example:
41
+ destination = {
42
+ "address" : {
43
+ "building_name" : "",
44
+ "street_address": "123th St",
45
+ "suburb": "Los Angeles",
46
+ "city": "CA",
47
+ "post_code": "90013",
48
+ "country_code": "US"
49
+ }
50
+ }
51
+ ```
52
+
53
+ For testing purpose, you will need to set `test` to true
54
+ ```ruby
55
+ omni_returns_client = SekoEcomAPI::OmniReturnsClient.new(access_key: ENV['ACCESS_KEY'], test: true)
56
+ ```
57
+
58
+ For error handling, you might encounter SekoEcomAPI::Error and SekoEcomAPI::ParseError
59
+ ```ruby
60
+ begin
61
+ omni_returns_client.create_shipment(params)
62
+ rescue SekoEcomAPI::Error => err
63
+ # The error message should be sufficient enough
64
+ rescue SekoEcomAPI::ParseError => err
65
+ # Will be thrown if response's body is not in JSON format
66
+ # Call response.body and response.headers to debug
67
+ puts err.response.body
68
+ puts err.response.headers
69
+ end
70
+ ```
71
+
72
+ ### OmniParcel
73
+ TBA
74
+
75
+ ## Development
76
+
77
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
78
+
79
+ 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).
80
+
81
+ ## Contributing
82
+
83
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/seko_ecom_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/[USERNAME]/seko_ecom_api/blob/pc-2546-setup-sekoecomapi/CODE_OF_CONDUCT.md).
84
+
85
+ ## License
86
+
87
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
88
+
89
+ ## Code of Conduct
90
+
91
+ Everyone interacting in the SekoEcomApi project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/seko_ecom_api/blob/pc-2546-setup-sekoecomapi/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ task default: %i[]
@@ -0,0 +1,39 @@
1
+ require 'active_support/core_ext/hash'
2
+
3
+ module SekoEcomAPI
4
+ module Client
5
+ def post_request(url, params: {}, headers: {})
6
+ connection.post(url, params, headers)
7
+ end
8
+
9
+ def handle_response(response)
10
+ error_message = response.body
11
+
12
+ case response.status
13
+ when 400
14
+ raise Error, "A bad request or a validation exception has occurred. #{error_message}"
15
+ when 401
16
+ raise Error, "Invalid authorization credentials. #{error_message}"
17
+ when 403
18
+ raise Error, "Connection doesn't have permission to access the resource. #{error_message}"
19
+ when 404
20
+ raise Error, "The resource you have specified cannot be found. #{error_message}"
21
+ when 429
22
+ raise Error, "The API rate limit for your application has been exceeded. #{error_message}"
23
+ when 500
24
+ raise Error,
25
+ "An unhandled error with the . Contact the Seko Ecom API team if problems persist. #{error_message}"
26
+ when 503
27
+ raise Error,
28
+ "API is currently unavailable – typically due to a scheduled outage – try again soon. #{error_message}"
29
+ end
30
+
31
+ response
32
+ end
33
+
34
+ def parse_params(params)
35
+ # Convert { snake_case_key: value } to { SnakeCaseKey: value }
36
+ params.deep_transform_keys { |key| key.to_s.camelcase }
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,59 @@
1
+ require 'faraday'
2
+ require 'faraday/encoding'
3
+ require 'faraday/http'
4
+ require 'active_support/core_ext/hash'
5
+
6
+ module SekoEcomAPI
7
+ class OmniReturnsClient
8
+ include Client
9
+
10
+ BASE_URL = 'https://www.omniparcelreturns.com/index.php/api/'.freeze
11
+ TEST_BASE_URL = 'https://test.omniparcelreturns.com/index.php/api/'.freeze
12
+
13
+ attr_reader :access_key, :adapter, :test, :conn_opts
14
+
15
+ def initialize(access_key:, adapter: :http, test: false, conn_opts: {})
16
+ @access_key = access_key
17
+ @adapter = adapter
18
+ @test = test
19
+ @conn_opts = conn_opts
20
+ end
21
+
22
+ def create_shipment(params)
23
+ response = handle_response post_request('labels/printshipment', params: parse_params(params))
24
+ Shipment.new(response)
25
+ end
26
+
27
+ private
28
+
29
+ def connection
30
+ @connection ||= Faraday.new do |conn|
31
+ conn.url_prefix = test ? TEST_BASE_URL : BASE_URL
32
+ conn.ssl.verify = test ? false : true
33
+ conn.options.merge!(conn_opts)
34
+ conn.headers['Access_Key'] = access_key
35
+ conn.request :json
36
+ conn.response :encoding
37
+ conn.adapter adapter
38
+ end
39
+ end
40
+
41
+ def handle_response(response)
42
+ super
43
+ parsed_response = parse_response(response)
44
+ response_errors = parsed_response['errors']
45
+
46
+ raise(Error, "Something went wrong. #{response_errors}") unless response_errors.empty?
47
+
48
+ parsed_response
49
+ end
50
+
51
+ def parse_response(response)
52
+ parsed_response = JSON.parse(response.body)
53
+ parsed_response.deep_transform_keys(&:underscore)
54
+ rescue JSON::ParserError
55
+ error_response = Struct.new(:body, :headers).new(response.body, response.headers)
56
+ raise ParseError.new('Response body cannot be parsed.', error_response)
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,12 @@
1
+ module SekoEcomAPI
2
+ class Error < StandardError
3
+ end
4
+
5
+ class ParseError < StandardError
6
+ attr_reader :response
7
+ def initialize(message, response)
8
+ super(message)
9
+ @response = response
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,20 @@
1
+ require 'ostruct'
2
+ require 'active_support/core_ext/string'
3
+
4
+ module SekoEcomAPI
5
+ class Object < OpenStruct
6
+ def initialize(attributes)
7
+ super to_ostruct(attributes)
8
+ end
9
+
10
+ def to_ostruct(obj)
11
+ if obj.is_a? Hash
12
+ OpenStruct.new(obj.transform_values { |val| to_ostruct(val) }.to_h)
13
+ elsif obj.is_a? Array
14
+ obj.map { |o| to_ostruct(o) }
15
+ else
16
+ obj
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,4 @@
1
+ module SekoEcomAPI
2
+ class Rate < Object
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module SekoEcomAPI
2
+ class Shipment < Object
3
+ end
4
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module SekoEcomAPI
4
+ VERSION = "0.1.1"
5
+ end
@@ -0,0 +1,15 @@
1
+ require_relative 'seko_ecom_api/version'
2
+
3
+ module SekoEcomAPI
4
+ autoload :Error, 'seko_ecom_api/error'
5
+ autoload :ParseError, 'seko_ecom_api/error'
6
+ autoload :Object, 'seko_ecom_api/object'
7
+ autoload :Client, 'seko_ecom_api/client'
8
+
9
+ # Objects
10
+ autoload :Rate, 'seko_ecom_api/objects/rate'
11
+ autoload :Shipment, 'seko_ecom_api/objects/shipment'
12
+
13
+ # Clients
14
+ autoload :OmniReturnsClient, 'seko_ecom_api/clients/omni_returns_client'
15
+ end
@@ -0,0 +1,4 @@
1
+ module SekoEcomApi
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,162 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: seko_ecom_api
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Jane Trang Mai Nguyen
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2023-06-08 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: faraday
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.7'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.7'
41
+ - !ruby/object:Gem::Dependency
42
+ name: faraday-encoding
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: faraday-http
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: pry
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: dotenv
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description:
112
+ email:
113
+ - jane.trangm@gmail.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - ".rspec"
119
+ - ".rubocop.yml"
120
+ - CHANGELOG.md
121
+ - CODE_OF_CONDUCT.md
122
+ - Gemfile
123
+ - Gemfile.lock
124
+ - LICENSE.txt
125
+ - README.md
126
+ - Rakefile
127
+ - lib/seko_ecom_api.rb
128
+ - lib/seko_ecom_api/client.rb
129
+ - lib/seko_ecom_api/clients/omni_returns_client.rb
130
+ - lib/seko_ecom_api/error.rb
131
+ - lib/seko_ecom_api/object.rb
132
+ - lib/seko_ecom_api/objects/rate.rb
133
+ - lib/seko_ecom_api/objects/shipment.rb
134
+ - lib/seko_ecom_api/version.rb
135
+ - sig/seko_ecom_api.rbs
136
+ homepage: https://github.com/PostCo/seko_ecom_api
137
+ licenses:
138
+ - MIT
139
+ metadata:
140
+ homepage_uri: https://github.com/PostCo/seko_ecom_api
141
+ source_code_uri: https://github.com/PostCo/seko_ecom_api
142
+ changelog_uri: https://github.com/PostCo/seko_ecom_api/releases
143
+ post_install_message:
144
+ rdoc_options: []
145
+ require_paths:
146
+ - lib
147
+ required_ruby_version: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ version: 2.6.0
152
+ required_rubygems_version: !ruby/object:Gem::Requirement
153
+ requirements:
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ version: '0'
157
+ requirements: []
158
+ rubygems_version: 3.2.33
159
+ signing_key:
160
+ specification_version: 4
161
+ summary: Seko Ecommerce API Wrapper
162
+ test_files: []