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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4609d8eb53a1f34be10898fd7b0b8da8090b183390ae416099e2cc0efe88c558
4
- data.tar.gz: 38c143808c26f0bd6106cee3c5a8d72c3d18097d4e3ff2ff27a2cbc1d587d1b3
3
+ metadata.gz: ef253f87181bbb8252772a02c43f75df01ce0d9552b242bebdc2827691d4a223
4
+ data.tar.gz: 9c014a9b44a95b3f9146d8a2f9c297a01f868cda36d482a1d07bb9c6375ef01c
5
5
  SHA512:
6
- metadata.gz: b06f6eb026df0f3bad9606755a04b123a2c21e8b870bd4a424e8f1d36b9a3a133fa16b6591920ce987eee3696cc8e992d92444c666a5df089756ff929605980e
7
- data.tar.gz: d4701e1ce01ba99060799f9e86f2c6ace063f75dc4cc488c3aeec14e9a7b1ac86f0b2ffaa7e45f753d457daccf013db5478b0d96a928735df1c7047bfb934150
6
+ metadata.gz: f22c61fd74864c889d74ca0af405c8e2193703a528e6baec6cd447ac4a886e2ef453ab9a56b515a6f3104c51fe9f6a00929277f85018f9b4fc0d8bfb3ff18f7d
7
+ data.tar.gz: 2517297590604972cbbf27277c4d2f543f032d654452d58df4af43e7aa6d639af71546e2dbde550347eeb854dee0ac33cc9a9f099b8557f7105cb86d6c55d1fa
data/.env.example CHANGED
@@ -1,14 +1,9 @@
1
- # Required
2
- ANTHROPIC_API_KEY=your-api-key-here # For most AI ops -- Format: sk-ant-api03-... (Required)
3
- PERPLEXITY_API_KEY=pplx-abcde # For research -- Format: pplx-abcde (Optional, Highly Recommended)
4
-
5
- # Optional - defaults shown
6
- MODEL=claude-3-7-sonnet-20250219 # Recommended models: claude-3-7-sonnet-20250219, claude-3-opus-20240229 (Required)
7
- PERPLEXITY_MODEL=sonar-pro # Make sure you have access to sonar-pro otherwise you can use sonar regular (Optional)
8
- MAX_TOKENS=64000 # Maximum tokens for model responses (Required)
9
- TEMPERATURE=0.2 # Temperature for model responses (0.0-1.0) - lower = less creativity and follow your prompt closely (Required)
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
- response = client.return_labels.create(
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 response["trackingNumber"] # The An Post tracking number for this shipment
95
- puts response["labelData"] # The label data (usually a PDF bitstream)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AnPostReturn
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.2"
5
5
  end
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.0
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-25 00:00:00.000000000 Z
11
+ date: 2025-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: x25519