london_cab 0.1.3 → 0.1.6

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: 56307553d80ec6abb32f2c1d38256f80eef6b1dd
4
- data.tar.gz: 63b0b72ed489b585b0822a7697186e7241a8f820
3
+ metadata.gz: eb4704df2960544cc1bb43c8074ccb09679fa9bf
4
+ data.tar.gz: f56300da8f0bec9e0f67ac9f9cd38c0cb7aefb16
5
5
  SHA512:
6
- metadata.gz: f0abca428e828ad7903de6b5a7403f708a52b1d11a7c095b720e2fb754b0996d5c4965bbe2ca9ea4815090599e42d1c6642feb793e56441b03b29df9691126dc
7
- data.tar.gz: 321956c6aa7cf3d5b9b33d18c047c30aaabc46765575a4fb565fce2b178422287eab62eeae004467039206c81410bf42bd369ca5e145b4a76b9da5550f3faf06
6
+ metadata.gz: b2312d6f1c36471914023dc8b7524f3bfa83bc355d711744a40ed348b3dbdece13cb14dafb195aa7f4239450732a4809122d573c1f597ab268737bc7f8758aaf
7
+ data.tar.gz: 014db16fc5552b4fe71b3b2ef1c802ffac443a2fbee8a15d928ad9bb8e64862990a50f21779b169dd13873869deac45dff5c96a7c57553a8b53e41895ebcf0fa
@@ -42,6 +42,10 @@ module LondonCab
42
42
  'CustomerEmail' => customer_email)['Result']
43
43
  end
44
44
 
45
+ def ride_details(ride_id:)
46
+ get("GetTripDetails/#{ride_id}")['Result']
47
+ end
48
+
45
49
  def ride_cancel(ride_id:)
46
50
  post("CancelRide/#{ride_id}")['Result']['IsCanceled']
47
51
  end
@@ -1,3 +1,3 @@
1
1
  module LondonCab
2
- VERSION = '0.1.3'.freeze
2
+ VERSION = '0.1.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: london_cab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ramy Aboul Naga
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-28 00:00:00.000000000 Z
11
+ date: 2017-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday