booker_api 0.0.14 → 0.0.15

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
  SHA1:
3
- metadata.gz: d2bdcf13a004b46ed0c0abbf034eebc0d431de1f
4
- data.tar.gz: f60d4abcbbbb69df1b4402ef6f3b8d157f7bae37
3
+ metadata.gz: 45421053d7d3ac8f3197e0ffbcbc22efd891eb79
4
+ data.tar.gz: 234127b3fb191a1966f499fdbfdf5a1d822a3f83
5
5
  SHA512:
6
- metadata.gz: 4abda64b972105c8d43e2f20afa7aed92d6a76ef0f555f46c0a3bf61ea4fdc43a4374aae3a29269f7f8d8080bafc510ad843bad96bc779b5341fd09c94b98536
7
- data.tar.gz: 0a730e771c88d926e88b71f3b8291be91e42e3a55ad3f219f327feafd2652c4fa1418c94850f06972c386ae87307ef82a06796935116f45402b51d19f8c50d94
6
+ metadata.gz: ad28d8348b3c60a59a0e05e3ec9eb2e97d09b94d9c354c50928afbc15791ae2e0dfb5d13eefc076b58756d43fdfaa1eff35d51f2882697d7947ecf892ac004dd
7
+ data.tar.gz: 76a3fb1fde337d4ba2a16a8f74e3e5d586dc29d0cc4dd6ddd6548a7a3d32cd07088e75550bf92ab3031c4001356c02cc7e790cd5dcbc02c4ab76ed522de6a59c
@@ -123,8 +123,15 @@ module Booker
123
123
  post "/order/#{order_id}/place_order", build_params
124
124
  end
125
125
 
126
- def take_deposit(order_id)
127
- post "/order/#{order_id}/deposit", build_params()
126
+ def take_deposit(order_id, credit_card)
127
+ post "/order/#{order_id}/deposit", build_params(
128
+ "PaymentItem" => {
129
+ "CreditCard" => credit_card,
130
+ "Method" => {
131
+ "ID" => 1
132
+ }
133
+ }
134
+ )
128
135
  end
129
136
  end
130
137
  end
@@ -1,3 +1,3 @@
1
1
  module Booker
2
- VERSION = '0.0.14'
2
+ VERSION = '0.0.15'
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.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - AbeCole
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-30 00:00:00.000000000 Z
11
+ date: 2016-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty