booker_api 0.0.17 → 0.0.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/booker/business_rest.rb +2 -3
- data/lib/booker/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1cf381ea4e6fbefd6da1d4357a8c08feb5a1867
|
4
|
+
data.tar.gz: 6cd1191e73712f1003f57b445d0cdbebb33f6991
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f43b51379c71b38ad93b0addbcbd4a46dbe477295041bd6a2e38569d4d1e64234e0f0970e40baaa16d9c4d57e25eeee93f6b9dfd0390f8d267e50442ee21fac
|
7
|
+
data.tar.gz: bb9c3d9c9788508850c28fb2c3c8339db8aa11b6141b1aa3ea59765e18f3482fe1fb09b762479fc57a414550b2609a3b089a062f4e91f1be53617a2770fb3aa1
|
data/lib/booker/business_rest.rb
CHANGED
@@ -123,12 +123,11 @@ module Booker
|
|
123
123
|
post "/order/#{order_id}/place_order", build_params
|
124
124
|
end
|
125
125
|
|
126
|
-
def take_deposit(order_id,
|
126
|
+
def take_deposit(order_id, params: {})
|
127
127
|
post "/order/#{order_id}/deposit", build_params({
|
128
128
|
"PaymentItem" => {
|
129
|
-
"CreditCard" => credit_card,
|
130
129
|
"Method" => {
|
131
|
-
"ID" =>
|
130
|
+
"ID" => 4
|
132
131
|
}
|
133
132
|
}
|
134
133
|
}, params)
|
data/lib/booker/version.rb
CHANGED
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.
|
4
|
+
version: 0.0.18
|
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-
|
11
|
+
date: 2016-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|