booker_api 0.0.16 → 0.0.17
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 -2
- data/lib/booker/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba23e8eff8be6de6add8aa2f33e8f7686367ff39
|
4
|
+
data.tar.gz: e05c8c98a678fdfcbab46637b1881294735be34d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0af0ed8d1478de39d0cf43c348c8a2c411c014ecdff2e98d05bd9067d83fd9975d0f45a8876ff762296ce2e801b985c0cee229359ce19747eda0bd8ec163ed6a
|
7
|
+
data.tar.gz: a6c21435118066b1059f7ecb2aeec00f86e2cd916a48ba57c9d3934a81a90964f35a34ffec066398d610a37917cf98013ce10d4833a27f6b768a2ab7d144db20
|
data/lib/booker/business_rest.rb
CHANGED
@@ -124,14 +124,14 @@ module Booker
|
|
124
124
|
end
|
125
125
|
|
126
126
|
def take_deposit(order_id, credit_card, params: {})
|
127
|
-
post "/order/#{order_id}/deposit", build_params(
|
127
|
+
post "/order/#{order_id}/deposit", build_params({
|
128
128
|
"PaymentItem" => {
|
129
129
|
"CreditCard" => credit_card,
|
130
130
|
"Method" => {
|
131
131
|
"ID" => 1
|
132
132
|
}
|
133
133
|
}
|
134
|
-
, params)
|
134
|
+
}, params)
|
135
135
|
end
|
136
136
|
end
|
137
137
|
end
|
data/lib/booker/version.rb
CHANGED