api_sabeq_ps_v1 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- 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: 517ba90edde8e076637800657dee5593a36d19d744c86edf5f6b3ee50b32cf70
|
4
|
+
data.tar.gz: '0395a78fecf07e9fa1fe79a803e5fddd053a54116f63c12a41e4e9572914569c'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee6608d2bee695b5d84d2fd63eae3be53c3f41910a9a1e26a1fb0ad2e2e970e09b1266c422a8490a8e6161aa6bcbc87f849f0019c51ffd0bd9fbc9f74afa6776
|
7
|
+
data.tar.gz: 60687b41520a659077af9129d2081c62ecceefaa701fd8a3c60993855e8dddbd1b152c7d93dfb002b099472ec3a4f74caadfb8479cee7270d26671a56bc235b6
|
@@ -52,13 +52,14 @@ module ApiSabeqPsV1
|
|
52
52
|
end
|
53
53
|
|
54
54
|
def sabeq_api_v1_create_parcel(verification_token, name, phone1, phone2, content,
|
55
|
-
payment_amount, area_id, address, delivery_notes)
|
55
|
+
payment_amount, area_id, address, delivery_notes, special_notes)
|
56
56
|
auth_link = SABEQ_URL + "/api/v1/parcels"
|
57
57
|
auth_json = { verification_token: verification_token,
|
58
58
|
name: name, phone1: phone1, phone2: phone2,
|
59
59
|
content: content, payment_amount: payment_amount,
|
60
60
|
area_id: area_id, address: address,
|
61
|
-
delivery_notes: delivery_notes
|
61
|
+
delivery_notes: delivery_notes,
|
62
|
+
special_notes: special_notes }
|
62
63
|
json_response = make_post_request(auth_link, auth_json)
|
63
64
|
|
64
65
|
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.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ShaimaKaraki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Its a gem for sabeq.ps API helper functionalities
|
14
14
|
email:
|