an_post_return 0.2.0 → 0.2.2
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 +4 -4
- data/.env.example +9 -14
- data/README.md +3 -3
- data/lib/an_post_return/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: ef253f87181bbb8252772a02c43f75df01ce0d9552b242bebdc2827691d4a223
|
4
|
+
data.tar.gz: 9c014a9b44a95b3f9146d8a2f9c297a01f868cda36d482a1d07bb9c6375ef01c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f22c61fd74864c889d74ca0af405c8e2193703a528e6baec6cd447ac4a886e2ef453ab9a56b515a6f3104c51fe9f6a00929277f85018f9b4fc0d8bfb3ff18f7d
|
7
|
+
data.tar.gz: 2517297590604972cbbf27277c4d2f543f032d654452d58df4af43e7aa6d639af71546e2dbde550347eeb854dee0ac33cc9a9f099b8557f7105cb86d6c55d1fa
|
data/.env.example
CHANGED
@@ -1,14 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
DEBUG=false # Enable debug logging (true/false)
|
11
|
-
LOG_LEVEL=info # Log level (debug, info, warn, error)
|
12
|
-
DEFAULT_SUBTASKS=5 # Default number of subtasks when expanding
|
13
|
-
DEFAULT_PRIORITY=medium # Default priority for generated tasks (high, medium, low)
|
14
|
-
PROJECT_NAME={{projectName}} # Project name for tasks.json metadata
|
1
|
+
SFTP_HOST=
|
2
|
+
SFTP_USERNAME=
|
3
|
+
SFTP_PASSWORD=
|
4
|
+
SFTP_REMOTE_PATH=
|
5
|
+
PROXY_HOST=
|
6
|
+
PROXY_PORT=
|
7
|
+
PROXY_USERNAME=
|
8
|
+
PROXY_PASSWORD=
|
9
|
+
AN_POST_SUBSCRIPTION_KEY=
|
data/README.md
CHANGED
@@ -68,7 +68,7 @@ end
|
|
68
68
|
```ruby
|
69
69
|
# Initialize a new return label request
|
70
70
|
client = AnPostReturn::Client.new
|
71
|
-
|
71
|
+
return_label = client.return_labels.create(
|
72
72
|
output_response_type: "Label",
|
73
73
|
sender: {
|
74
74
|
first_name: "Jane",
|
@@ -91,8 +91,8 @@ response = client.return_labels.create(
|
|
91
91
|
)
|
92
92
|
|
93
93
|
# Access the response data
|
94
|
-
puts
|
95
|
-
puts
|
94
|
+
puts return_label.tracking_number # The An Post tracking number for this shipment
|
95
|
+
puts return_label.label_data # The label data (usually a PDF bitstream)
|
96
96
|
```
|
97
97
|
|
98
98
|
### Tracking Shipments
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: an_post_return
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Chong
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: x25519
|