shipengine_ruby 0.0.1 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -2
- data/lib/shipengine/constants.rb +1 -1
- data/lib/shipengine/domains/shipments.rb +1 -1
- data/lib/shipengine/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81017313f22ad38befac6eceacfa6450043d226e7e653eaf32e321f8521e61d6
|
4
|
+
data.tar.gz: 3341bf3a095b789b87d8cc93ef4e5629c6cf54c99498bc620839788ea1d4074e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2edc03078589f4c06438ae5099e2149df071886c094e119e5804ec156cbca11ef8ad58dc1b8713266297ea998f95db148c19e27e96678dd21b763051ce0bc2de
|
7
|
+
data.tar.gz: 2334d9ccfbdcbb43b8a5c5e7d1e423cb077405ad4a23882881105edd235ed2f3bcd2d9b5114f8e40458760c93376b4cf78714dbf1fa0bd569e263c3fed9c499f
|
data/README.md
CHANGED
@@ -9,6 +9,18 @@ Quick Start
|
|
9
9
|
|
10
10
|
Install ShipEngine via [RubyGems](https://rubygems.org/)
|
11
11
|
```bash
|
12
|
-
gem install
|
12
|
+
gem install shipengine_ruby
|
13
13
|
```
|
14
|
-
- The only configuration requirement is an [API Key](https://www.shipengine.com/docs/auth/#api-keys).
|
14
|
+
- The only configuration requirement is an [API Key](https://www.shipengine.com/docs/auth/#api-keys).
|
15
|
+
|
16
|
+
Configure ShipEngine
|
17
|
+
```ruby
|
18
|
+
ShipEngine.configure do |config|
|
19
|
+
config.api_key = ShipEngine::Constants::API_KEY
|
20
|
+
config.base_url = ShipEngine::Constants::PROD_URL
|
21
|
+
config.retries = ShipEngine::Constants::RETRIES
|
22
|
+
config.timeout = ShipEngine::Constants::TIMEOUT
|
23
|
+
config.page_size = ShipEngine::Constants::PAGE_SIZE
|
24
|
+
end
|
25
|
+
```
|
26
|
+
or set the environment variable `API_KEY`
|
data/lib/shipengine/constants.rb
CHANGED
data/lib/shipengine/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shipengine_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mohammed Abdel Raouf
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|