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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba23e8eff8be6de6add8aa2f33e8f7686367ff39
4
- data.tar.gz: e05c8c98a678fdfcbab46637b1881294735be34d
3
+ metadata.gz: a1cf381ea4e6fbefd6da1d4357a8c08feb5a1867
4
+ data.tar.gz: 6cd1191e73712f1003f57b445d0cdbebb33f6991
5
5
  SHA512:
6
- metadata.gz: 0af0ed8d1478de39d0cf43c348c8a2c411c014ecdff2e98d05bd9067d83fd9975d0f45a8876ff762296ce2e801b985c0cee229359ce19747eda0bd8ec163ed6a
7
- data.tar.gz: a6c21435118066b1059f7ecb2aeec00f86e2cd916a48ba57c9d3934a81a90964f35a34ffec066398d610a37917cf98013ce10d4833a27f6b768a2ab7d144db20
6
+ metadata.gz: 4f43b51379c71b38ad93b0addbcbd4a46dbe477295041bd6a2e38569d4d1e64234e0f0970e40baaa16d9c4d57e25eeee93f6b9dfd0390f8d267e50442ee21fac
7
+ data.tar.gz: bb9c3d9c9788508850c28fb2c3c8339db8aa11b6141b1aa3ea59765e18f3482fe1fb09b762479fc57a414550b2609a3b089a062f4e91f1be53617a2770fb3aa1
@@ -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, credit_card, params: {})
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" => 1
130
+ "ID" => 4
132
131
  }
133
132
  }
134
133
  }, params)
@@ -1,3 +1,3 @@
1
1
  module Booker
2
- VERSION = '0.0.17'
2
+ VERSION = '0.0.18'
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.17
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-07 00:00:00.000000000 Z
11
+ date: 2016-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty