booker_api 0.0.18 → 0.0.19

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
  SHA1:
3
- metadata.gz: a1cf381ea4e6fbefd6da1d4357a8c08feb5a1867
4
- data.tar.gz: 6cd1191e73712f1003f57b445d0cdbebb33f6991
3
+ metadata.gz: 439dacf4591b624f5a7787f29c2e824e33253266
4
+ data.tar.gz: b4ba04381c613ca271148b437f5b66d31d9a8ac6
5
5
  SHA512:
6
- metadata.gz: 4f43b51379c71b38ad93b0addbcbd4a46dbe477295041bd6a2e38569d4d1e64234e0f0970e40baaa16d9c4d57e25eeee93f6b9dfd0390f8d267e50442ee21fac
7
- data.tar.gz: bb9c3d9c9788508850c28fb2c3c8339db8aa11b6141b1aa3ea59765e18f3482fe1fb09b762479fc57a414550b2609a3b089a062f4e91f1be53617a2770fb3aa1
6
+ metadata.gz: 31b45f33a71400ed9270ac97b286a404d9b16ea264f7befe872b6eccda79724ec98a7e88496519806b1e9b2444e16da78835a4fe3004dfb4cc750af4bca67ff9
7
+ data.tar.gz: a8e39ac449bbcc71975880d6b2abfb5b0901b0d9cce0a1126232fc7097c2833fa2361739619d2221276e920ce5276ab6e50f91575a088c32acff266edf9a346f
@@ -132,5 +132,15 @@ module Booker
132
132
  }
133
133
  }, params)
134
134
  end
135
+
136
+ def add_cash_payment(order_id, params: {})
137
+ post "/order/#{order_id}/add_payment", build_params({
138
+ "PaymentItem" => {
139
+ "Method" => {
140
+ "ID" => 4
141
+ }
142
+ }
143
+ }, params)
144
+ end
135
145
  end
136
146
  end
@@ -26,7 +26,7 @@ module Booker
26
26
  "PaymentItem" => {
27
27
  "CreditCard" => credit_card,
28
28
  "Method" => {
29
- "ID" => 1
29
+ "ID" => 4
30
30
  }
31
31
  },
32
32
  "CouponCode" => coupon_code
@@ -1,3 +1,3 @@
1
1
  module Booker
2
- VERSION = '0.0.18'
2
+ VERSION = '0.0.19'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: booker_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - AbeCole
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-08 00:00:00.000000000 Z
11
+ date: 2016-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty