api_sabeq_ps_v1 0.2.0 → 0.2.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 +4 -4
- data/lib/api_sabeq_ps_v1/sabeq_helpers.rb +3 -2
- data/lib/api_sabeq_ps_v1/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: 48798c6445a7f7630366724b293e3d978f4c37c335344083dd4ba72bd0aa9f5e
|
|
4
|
+
data.tar.gz: 62a5ea69705a82b99ee9baaf36edee14bf7e0da98c35d4663687b48ad001caf1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3c8df850ac940dfdf73d2829e63823140d1450a5f831109c7366fcdba6564127448ce11ea3bde6e0f1177cc764d57445d319204a0f70fd2c57975e03f485338e
|
|
7
|
+
data.tar.gz: 213198df52e461c103d3005d8bdb7ad21463d56ae928085b3b1ff9efd8edc6920dd063111225face83a8e45f531cbe2102e4c681110db57bb13e7ce3a483872f
|
|
@@ -98,7 +98,7 @@ module ApiSabeqPsV1
|
|
|
98
98
|
return json_response
|
|
99
99
|
end
|
|
100
100
|
|
|
101
|
-
def sabeq_api_v1_update_parcel(verification_token, collect_money, name, phone1, phone2, content, address, area_id)
|
|
101
|
+
def sabeq_api_v1_update_parcel(verification_token, parcel_number, collect_money, name, phone1, phone2, content, address, area_id, street_id)
|
|
102
102
|
auth_link = SABEQ_URL + "/api/v1/parcels/#{parcel_number}"
|
|
103
103
|
auth_json = { verification_token: verification_token,
|
|
104
104
|
payment_amount: collect_money,
|
|
@@ -107,7 +107,8 @@ module ApiSabeqPsV1
|
|
|
107
107
|
phone2: phone2,
|
|
108
108
|
content: content,
|
|
109
109
|
address: address,
|
|
110
|
-
area_id: area_id
|
|
110
|
+
area_id: area_id,
|
|
111
|
+
street_id: street_id}
|
|
111
112
|
json_response = make_patch_request(auth_link, auth_json)
|
|
112
113
|
|
|
113
114
|
return json_response
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: api_sabeq_ps_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ShaimaKaraki
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-04-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Its a gem for sabeq.ps API helper functionalities
|
|
14
14
|
email:
|