api_demo_v1 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4ca0dd6133796d16de45fa0959f86f5d6b1cfb360598b6346540770e9b28fa21
4
- data.tar.gz: bad4c424848ab4209538cef6def480ff060d11ec196272576f0167e9d7219395
3
+ metadata.gz: e4f245a39a948514eb92b6872440e7845e25b89f734fa34213322610a30c830c
4
+ data.tar.gz: a2e05a97ec6c698a033af6c6633c11789c8477165c2c0a706fac9a0a33c56cc1
5
5
  SHA512:
6
- metadata.gz: 49459f298c5ce9d2e300027eabbd2decb4e677a8c1221a46e13cf790d42582a2d2bd37a96ea5b50099dc8df16480883dbc88bfad066893e104b2d76f4dc8e1fa
7
- data.tar.gz: dc355a60430486eba6803572e73266ee444a4c7df1cff5722b95b50119beb2a45753894cea524595d1279da41fb535579bf32bb10b6ec0416badecc6f3c155b7
6
+ metadata.gz: e3545acd2222aedb552834b2332469ff736ce9161d2c2a3a8837761d7cf626dcefd7b71d787fa9cda14221465bfcc6836e871adc6a0120ba71889ca20126db33
7
+ data.tar.gz: 97f301ff45ff599f41f905d3d2c47769874becb9bceda65a87b0d778d0e0e3536a2a517531f3c958788cb58afb0cf205e224bf0a77339deb19524b543a2ed6d7
@@ -52,13 +52,14 @@ module ApiDemoV1
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
@@ -1,3 +1,3 @@
1
1
  module ApiDemoV1
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api_demo_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ShaimaKaraki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-08-07 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Its a gem for sabeq.ps API helper functionalities
14
14
  email: