uber-ruby 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -6
  3. data/lib/uber/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 102ad031c8fea0a68a5361dcc4e4fc8a5c7147da
4
- data.tar.gz: 5e2d6cb7363c74230ed7fa01e13ab4c9dc51982f
3
+ metadata.gz: a8866e2f3a8c74e73cfda4a46343907b425d4b82
4
+ data.tar.gz: 3d85f87c54001e2ea560f38eff5d3b4b798091ae
5
5
  SHA512:
6
- metadata.gz: b3146219ed1b481fc4051101e848fc0067a0913066e2fa1ca68aceaa2b13700660c4ecf66fa2bb9cf6fb790363d55e9d9155557027b6e0144cc311438e27e369
7
- data.tar.gz: 8064f6376fbf619547e9a6e4be76e16c260e4454de6934ddd81cf8b2f9c28795c4b1e23c1668f40b2a09fc441ab44019355da8b473371cfecafd9dba9b97c70b
6
+ metadata.gz: 91e44a3617b586a97339842a742512ea22e2e1ecb399eb0d8774e90a9044158f64f18caee6898dd2be8a769f208aee16a9ee442da708b9df3db7666617278879
7
+ data.tar.gz: cbd1f1c0d8f6831e86ec7c69f3e44891358cf05d8c84f7d760d0913b9827aea2003b44a3b62af41c9339a99f3a039846aecff74d4e92e44ee81ec90d479670c6
data/README.md CHANGED
@@ -86,7 +86,7 @@ client.history
86
86
  client = Uber::Client.new do |config|
87
87
  config.client_id = "YOUR_CLIENT_ID"
88
88
  config.client_secret = "YOUR_CLIENT_SECRET"
89
- config.bearer_toekn = "USER_ACCESS_TOKEN"
89
+ config.bearer_token = "USER_ACCESS_TOKEN"
90
90
  end
91
91
 
92
92
  client.trip_request(product_id: product_id, start_latitude: start_lat, start_longitude: start_lng, end_latitude: end_lat, end_longitude: end_lng)
@@ -98,7 +98,7 @@ client.trip_request(product_id: product_id, start_latitude: start_lat, start_lon
98
98
  client = Uber::Client.new do |config|
99
99
  config.client_id = "YOUR_CLIENT_ID"
100
100
  config.client_secret = "YOUR_CLIENT_SECRET"
101
- config.bearer_toekn = "USER_ACCESS_TOKEN"
101
+ config.bearer_token = "USER_ACCESS_TOKEN"
102
102
  end
103
103
 
104
104
  # Only available in sandbox environment
@@ -115,7 +115,7 @@ client.trip_request(product_id: product_id, start_latitude: start_lat, start_lon
115
115
  client = Uber::Client.new do |config|
116
116
  config.client_id = "YOUR_CLIENT_ID"
117
117
  config.client_secret = "YOUR_CLIENT_SECRET"
118
- config.bearer_toekn = "USER_ACCESS_TOKEN"
118
+ config.bearer_token = "USER_ACCESS_TOKEN"
119
119
  end
120
120
 
121
121
  # Only available in sandbox environment
@@ -132,7 +132,7 @@ client.trip_request(product_id: product_id, start_latitude: start_lat, start_lon
132
132
  client = Uber::Client.new do |config|
133
133
  config.client_id = "YOUR_CLIENT_ID"
134
134
  config.client_secret = "YOUR_CLIENT_SECRET"
135
- config.bearer_toekn = "USER_ACCESS_TOKEN"
135
+ config.bearer_token = "USER_ACCESS_TOKEN"
136
136
  end
137
137
 
138
138
  # Only available in sandbox environment
@@ -148,7 +148,7 @@ client.trip_update('request_id', 'accepted')
148
148
  client = Uber::Client.new do |config|
149
149
  config.client_id = "YOUR_CLIENT_ID"
150
150
  config.client_secret = "YOUR_CLIENT_SECRET"
151
- config.bearer_toekn = "USER_ACCESS_TOKEN"
151
+ config.bearer_token = "USER_ACCESS_TOKEN"
152
152
  end
153
153
 
154
154
  client.trip_details 'request_id'
@@ -160,7 +160,7 @@ client.trip_details 'request_id'
160
160
  client = Uber::Client.new do |config|
161
161
  config.client_id = "YOUR_CLIENT_ID"
162
162
  config.client_secret = "YOUR_CLIENT_SECRET"
163
- config.bearer_toekn = "USER_ACCESS_TOKEN"
163
+ config.bearer_token = "USER_ACCESS_TOKEN"
164
164
  end
165
165
 
166
166
  client.trip_cancel 'request_id'
data/lib/uber/version.rb CHANGED
@@ -2,7 +2,7 @@ module Uber
2
2
  class Version
3
3
  MAJOR = 0
4
4
  MINOR = 6
5
- PATCH = 0
5
+ PATCH = 1
6
6
 
7
7
  class << self
8
8
  # @return [String]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uber-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dingding Ye
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-18 00:00:00.000000000 Z
11
+ date: 2016-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler