clever-ruby 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md ADDED
@@ -0,0 +1,4 @@
1
+ ## 0.3.0 (2014-02-28)
2
+
3
+ * Support for token auth (#17)
4
+ * Move to clever.com (#19)
data/clever-ruby.gemspec CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |gem|
7
7
  gem.name = "clever-ruby"
8
8
  gem.version = Clever::VERSION
9
9
  gem.authors = ["Rafael Garcia", "Alex Zylman"]
10
- gem.email = ["ruby@getclever.com"]
10
+ gem.email = ["tech-support@clever.com"]
11
11
  gem.description = %q{Ruby bindings to the Clever API.}
12
12
  gem.summary = %q{Ruby bindings to the Clever API.}
13
13
  gem.homepage = "http://github.com/Clever/clever-ruby"
data/lib/clever-ruby.rb CHANGED
@@ -43,6 +43,10 @@ module Clever
43
43
  configuration.api_key
44
44
  end
45
45
 
46
+ def token
47
+ configuration.token
48
+ end
49
+
46
50
  def configuration
47
51
  @configuration ||= Clever::Configuration.new
48
52
  end
@@ -63,7 +67,7 @@ module Clever
63
67
  end
64
68
 
65
69
  def self.request(method, url, params=nil, headers={})
66
- raise AuthenticationError.new('No API key provided. (HINT: set your API key using "Clever.configure { |config| config.api_key = <API-KEY> }")') unless Clever.api_key
70
+ raise AuthenticationError.new('No API key provided. (HINT: set your API key using "Clever.configure { |config| config.api_key = <API-KEY> }" or your token using "Clever.configure { |config| config.token = <TOKEN> }")') unless Clever.api_key or Clever.token
67
71
 
68
72
  params = Util.objects_to_ids(params)
69
73
  url = self.api_url(url)
@@ -76,9 +80,11 @@ module Clever
76
80
  payload = params
77
81
  end
78
82
 
83
+ if Clever.token
84
+ headers[:Authorization] = "Bearer " + Clever.token
85
+ end
86
+
79
87
  opts = {
80
- :user => Clever.api_key,
81
- :password => "",
82
88
  :method => method,
83
89
  :url => url,
84
90
  :headers => headers,
@@ -86,6 +92,10 @@ module Clever
86
92
  :payload => payload,
87
93
  :timeout => 80
88
94
  }
95
+ if Clever.api_key
96
+ opts[:user] = Clever.api_key
97
+ opts[:password] = ""
98
+ end
89
99
 
90
100
  begin
91
101
  response = execute_request(opts)
@@ -134,7 +144,7 @@ module Clever
134
144
  when RestClient::ServerBrokeConnection, RestClient::RequestTimeout
135
145
  message = "Could not connect to Clever (#{configuration.api_base}). Please check your internet connection and try again."
136
146
  when SocketError
137
- message = "Unexpected error communicating when trying to connect to Clever. HINT: You may be seeing this message because your DNS is not working. To check, try running 'host getclever.com' from the command line."
147
+ message = "Unexpected error communicating when trying to connect to Clever. HINT: You may be seeing this message because your DNS is not working. To check, try running 'host api.clever.com' from the command line."
138
148
  else
139
149
  message = "Unexpected error communicating with Clever."
140
150
  end
@@ -1,10 +1,11 @@
1
1
  module Clever
2
2
  class Configuration
3
- attr_accessor :api_key, :api_base
3
+ attr_accessor :api_key, :token, :api_base
4
4
 
5
5
  def initialize
6
6
  @api_key = nil
7
- @api_base = 'https://api.getclever.com/'
7
+ @token = nil
8
+ @api_base = 'https://api.clever.com/'
8
9
  end
9
10
  end
10
11
  end
@@ -1,3 +1,3 @@
1
1
  module Clever
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts?
5
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts?
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts?
5
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts?
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -44,7 +44,7 @@ http_interactions:
44
44
  recorded_at: Wed, 11 Sep 2013 19:15:28 GMT
45
45
  - request:
46
46
  method: get
47
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts/4fd43cc56d11340000000005
47
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
48
48
  body:
49
49
  encoding: US-ASCII
50
50
  string: ''
@@ -85,7 +85,7 @@ http_interactions:
85
85
  recorded_at: Wed, 11 Sep 2013 19:15:29 GMT
86
86
  - request:
87
87
  method: get
88
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts/4fd43cc56d11340000000005
88
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
89
89
  body:
90
90
  encoding: US-ASCII
91
91
  string: ''
@@ -126,7 +126,7 @@ http_interactions:
126
126
  recorded_at: Wed, 11 Sep 2013 19:15:29 GMT
127
127
  - request:
128
128
  method: get
129
- uri: https://DEMO_KEY:@api.getclever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=100000
129
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=100000
130
130
  body:
131
131
  encoding: US-ASCII
132
132
  string: ''
@@ -167,7 +167,7 @@ http_interactions:
167
167
  recorded_at: Wed, 11 Sep 2013 19:15:30 GMT
168
168
  - request:
169
169
  method: get
170
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts/4fd43cc56d11340000000005
170
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
171
171
  body:
172
172
  encoding: US-ASCII
173
173
  string: ''
@@ -208,7 +208,7 @@ http_interactions:
208
208
  recorded_at: Wed, 11 Sep 2013 19:15:30 GMT
209
209
  - request:
210
210
  method: get
211
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts/4fd43cc56d11340000000005
211
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
212
212
  body:
213
213
  encoding: US-ASCII
214
214
  string: ''
@@ -249,7 +249,7 @@ http_interactions:
249
249
  recorded_at: Wed, 11 Sep 2013 19:15:31 GMT
250
250
  - request:
251
251
  method: get
252
- uri: https://DEMO_KEY:@api.getclever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=1
252
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=1
253
253
  body:
254
254
  encoding: US-ASCII
255
255
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts?
5
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts?
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -47,7 +47,7 @@ http_interactions:
47
47
  recorded_at: Wed, 13 Mar 2013 13:50:11 GMT
48
48
  - request:
49
49
  method: get
50
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts/4fd43cc56d11340000000005
50
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
51
51
  body:
52
52
  encoding: US-ASCII
53
53
  string: ''
@@ -92,7 +92,7 @@ http_interactions:
92
92
  recorded_at: Wed, 13 Mar 2013 13:50:11 GMT
93
93
  - request:
94
94
  method: get
95
- uri: https://DEMO_KEY:@api.getclever.com//v1.1/districts/4fd43cc56d11340000000005/events?
95
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?
96
96
  body:
97
97
  encoding: US-ASCII
98
98
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts?
5
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts?
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -44,7 +44,7 @@ http_interactions:
44
44
  recorded_at: Wed, 11 Sep 2013 19:06:26 GMT
45
45
  - request:
46
46
  method: get
47
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts/4fd43cc56d11340000000005
47
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
48
48
  body:
49
49
  encoding: US-ASCII
50
50
  string: ''
@@ -85,7 +85,7 @@ http_interactions:
85
85
  recorded_at: Wed, 11 Sep 2013 19:06:27 GMT
86
86
  - request:
87
87
  method: get
88
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts/4fd43cc56d11340000000005
88
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
89
89
  body:
90
90
  encoding: US-ASCII
91
91
  string: ''
@@ -126,7 +126,7 @@ http_interactions:
126
126
  recorded_at: Wed, 11 Sep 2013 19:06:28 GMT
127
127
  - request:
128
128
  method: get
129
- uri: https://DEMO_KEY:@api.getclever.com//v1.1/districts/4fd43cc56d11340000000005/schools?limit=100000
129
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/schools?limit=100000
130
130
  body:
131
131
  encoding: US-ASCII
132
132
  string: ''
@@ -181,7 +181,7 @@ http_interactions:
181
181
  recorded_at: Wed, 11 Sep 2013 19:06:28 GMT
182
182
  - request:
183
183
  method: get
184
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts/4fd43cc56d11340000000005
184
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
185
185
  body:
186
186
  encoding: US-ASCII
187
187
  string: ''
@@ -222,7 +222,7 @@ http_interactions:
222
222
  recorded_at: Wed, 11 Sep 2013 19:06:29 GMT
223
223
  - request:
224
224
  method: get
225
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts/4fd43cc56d11340000000005
225
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
226
226
  body:
227
227
  encoding: US-ASCII
228
228
  string: ''
@@ -263,7 +263,7 @@ http_interactions:
263
263
  recorded_at: Wed, 11 Sep 2013 19:06:29 GMT
264
264
  - request:
265
265
  method: get
266
- uri: https://DEMO_KEY:@api.getclever.com//v1.1/districts/4fd43cc56d11340000000005/schools?limit=2&page=1
266
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/schools?limit=2&page=1
267
267
  body:
268
268
  encoding: US-ASCII
269
269
  string: ''
@@ -312,7 +312,7 @@ http_interactions:
312
312
  recorded_at: Wed, 11 Sep 2013 19:06:30 GMT
313
313
  - request:
314
314
  method: get
315
- uri: https://DEMO_KEY:@api.getclever.com//v1.1/districts/4fd43cc56d11340000000005/schools?limit=2&page=2
315
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/schools?limit=2&page=2
316
316
  body:
317
317
  encoding: US-ASCII
318
318
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts?
5
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts?
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -44,7 +44,7 @@ http_interactions:
44
44
  recorded_at: Wed, 11 Sep 2013 19:58:11 GMT
45
45
  - request:
46
46
  method: get
47
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts/4fd43cc56d11340000000005
47
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
48
48
  body:
49
49
  encoding: US-ASCII
50
50
  string: ''
@@ -85,7 +85,7 @@ http_interactions:
85
85
  recorded_at: Wed, 11 Sep 2013 19:58:12 GMT
86
86
  - request:
87
87
  method: get
88
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts/4fd43cc56d11340000000005
88
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
89
89
  body:
90
90
  encoding: US-ASCII
91
91
  string: ''
@@ -126,7 +126,7 @@ http_interactions:
126
126
  recorded_at: Wed, 11 Sep 2013 19:58:12 GMT
127
127
  - request:
128
128
  method: get
129
- uri: https://DEMO_KEY:@api.getclever.com//v1.1/districts/4fd43cc56d11340000000005/schools?
129
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/schools?
130
130
  body:
131
131
  encoding: US-ASCII
132
132
  string: ''
@@ -181,7 +181,7 @@ http_interactions:
181
181
  recorded_at: Wed, 11 Sep 2013 19:58:13 GMT
182
182
  - request:
183
183
  method: get
184
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts/4fd43cc56d11340000000005
184
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
185
185
  body:
186
186
  encoding: US-ASCII
187
187
  string: ''
@@ -222,7 +222,7 @@ http_interactions:
222
222
  recorded_at: Wed, 11 Sep 2013 19:58:13 GMT
223
223
  - request:
224
224
  method: get
225
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts/4fd43cc56d11340000000005
225
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
226
226
  body:
227
227
  encoding: US-ASCII
228
228
  string: ''
@@ -263,7 +263,7 @@ http_interactions:
263
263
  recorded_at: Wed, 11 Sep 2013 19:58:14 GMT
264
264
  - request:
265
265
  method: get
266
- uri: https://DEMO_KEY:@api.getclever.com//v1.1/districts/4fd43cc56d11340000000005/schools?
266
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/schools?
267
267
  body:
268
268
  encoding: US-ASCII
269
269
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts?
5
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts?
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -44,7 +44,7 @@ http_interactions:
44
44
  recorded_at: Wed, 11 Sep 2013 19:15:32 GMT
45
45
  - request:
46
46
  method: get
47
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts/4fd43cc56d11340000000005
47
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
48
48
  body:
49
49
  encoding: US-ASCII
50
50
  string: ''
@@ -85,7 +85,7 @@ http_interactions:
85
85
  recorded_at: Wed, 11 Sep 2013 19:15:32 GMT
86
86
  - request:
87
87
  method: get
88
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts/4fd43cc56d11340000000005
88
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
89
89
  body:
90
90
  encoding: US-ASCII
91
91
  string: ''
@@ -126,7 +126,7 @@ http_interactions:
126
126
  recorded_at: Wed, 11 Sep 2013 19:15:33 GMT
127
127
  - request:
128
128
  method: get
129
- uri: https://DEMO_KEY:@api.getclever.com//v1.1/districts/4fd43cc56d11340000000005/sections?limit=100000
129
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/sections?limit=100000
130
130
  body:
131
131
  encoding: US-ASCII
132
132
  string: ''
@@ -268,7 +268,7 @@ http_interactions:
268
268
  recorded_at: Wed, 11 Sep 2013 19:15:34 GMT
269
269
  - request:
270
270
  method: get
271
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts/4fd43cc56d11340000000005
271
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
272
272
  body:
273
273
  encoding: US-ASCII
274
274
  string: ''
@@ -309,7 +309,7 @@ http_interactions:
309
309
  recorded_at: Wed, 11 Sep 2013 19:15:34 GMT
310
310
  - request:
311
311
  method: get
312
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts/4fd43cc56d11340000000005
312
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
313
313
  body:
314
314
  encoding: US-ASCII
315
315
  string: ''
@@ -350,7 +350,7 @@ http_interactions:
350
350
  recorded_at: Wed, 11 Sep 2013 19:15:35 GMT
351
351
  - request:
352
352
  method: get
353
- uri: https://DEMO_KEY:@api.getclever.com//v1.1/districts/4fd43cc56d11340000000005/sections?limit=10&page=1
353
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/sections?limit=10&page=1
354
354
  body:
355
355
  encoding: US-ASCII
356
356
  string: ''
@@ -416,7 +416,7 @@ http_interactions:
416
416
  recorded_at: Wed, 11 Sep 2013 19:15:35 GMT
417
417
  - request:
418
418
  method: get
419
- uri: https://DEMO_KEY:@api.getclever.com//v1.1/districts/4fd43cc56d11340000000005/sections?limit=10&page=2
419
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/sections?limit=10&page=2
420
420
  body:
421
421
  encoding: US-ASCII
422
422
  string: ''
@@ -482,7 +482,7 @@ http_interactions:
482
482
  recorded_at: Wed, 11 Sep 2013 19:15:36 GMT
483
483
  - request:
484
484
  method: get
485
- uri: https://DEMO_KEY:@api.getclever.com//v1.1/districts/4fd43cc56d11340000000005/sections?limit=10&page=3
485
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/sections?limit=10&page=3
486
486
  body:
487
487
  encoding: US-ASCII
488
488
  string: ''
@@ -547,7 +547,7 @@ http_interactions:
547
547
  recorded_at: Wed, 11 Sep 2013 19:15:36 GMT
548
548
  - request:
549
549
  method: get
550
- uri: https://DEMO_KEY:@api.getclever.com//v1.1/districts/4fd43cc56d11340000000005/sections?limit=10&page=4
550
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/sections?limit=10&page=4
551
551
  body:
552
552
  encoding: US-ASCII
553
553
  string: ''
@@ -613,7 +613,7 @@ http_interactions:
613
613
  recorded_at: Wed, 11 Sep 2013 19:15:37 GMT
614
614
  - request:
615
615
  method: get
616
- uri: https://DEMO_KEY:@api.getclever.com//v1.1/districts/4fd43cc56d11340000000005/sections?limit=10&page=5
616
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/sections?limit=10&page=5
617
617
  body:
618
618
  encoding: US-ASCII
619
619
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts?
5
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts?
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -44,7 +44,7 @@ http_interactions:
44
44
  recorded_at: Wed, 11 Sep 2013 19:58:15 GMT
45
45
  - request:
46
46
  method: get
47
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts/4fd43cc56d11340000000005
47
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
48
48
  body:
49
49
  encoding: US-ASCII
50
50
  string: ''
@@ -85,7 +85,7 @@ http_interactions:
85
85
  recorded_at: Wed, 11 Sep 2013 19:58:15 GMT
86
86
  - request:
87
87
  method: get
88
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts/4fd43cc56d11340000000005
88
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
89
89
  body:
90
90
  encoding: US-ASCII
91
91
  string: ''
@@ -126,7 +126,7 @@ http_interactions:
126
126
  recorded_at: Wed, 11 Sep 2013 19:58:16 GMT
127
127
  - request:
128
128
  method: get
129
- uri: https://DEMO_KEY:@api.getclever.com//v1.1/districts/4fd43cc56d11340000000005/sections?
129
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/sections?
130
130
  body:
131
131
  encoding: US-ASCII
132
132
  string: ''
@@ -268,7 +268,7 @@ http_interactions:
268
268
  recorded_at: Wed, 11 Sep 2013 19:58:16 GMT
269
269
  - request:
270
270
  method: get
271
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts/4fd43cc56d11340000000005
271
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
272
272
  body:
273
273
  encoding: US-ASCII
274
274
  string: ''
@@ -309,7 +309,7 @@ http_interactions:
309
309
  recorded_at: Wed, 11 Sep 2013 19:58:17 GMT
310
310
  - request:
311
311
  method: get
312
- uri: https://DEMO_KEY:@api.getclever.com/v1.1/districts/4fd43cc56d11340000000005
312
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
313
313
  body:
314
314
  encoding: US-ASCII
315
315
  string: ''
@@ -350,7 +350,7 @@ http_interactions:
350
350
  recorded_at: Wed, 11 Sep 2013 19:58:18 GMT
351
351
  - request:
352
352
  method: get
353
- uri: https://DEMO_KEY:@api.getclever.com//v1.1/districts/4fd43cc56d11340000000005/sections?
353
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/sections?
354
354
  body:
355
355
  encoding: US-ASCII
356
356
  string: ''