floodgate 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/floodgate/client.rb +2 -2
- data/lib/floodgate/version.rb +1 -1
- data/spec/cassettes/Floodgate_Client/_add_ip_address/when_an_ip_address_is_specified/adds_it_to_the_list_of_allowed_ip_addresses.yml +25 -25
- data/spec/cassettes/Floodgate_Client/_allowed_ip_addresses/returns_the_allowed_ip_addresses.yml +15 -15
- data/spec/cassettes/Floodgate_Client/_close/changes_filter_traffic_from_false_to_true.yml +20 -20
- data/spec/cassettes/Floodgate_Client/_my_ip_address/is_an_ip_address.yml +3 -3
- data/spec/cassettes/Floodgate_Client/_open/changes_filter_traffic_from_true_to_false.yml +20 -20
- data/spec/cassettes/Floodgate_Client/_remove_ip_address/when_an_ip_address_is_specified/removes_it_from_the_list_of_allowed_ip_addresses.yml +20 -20
- data/spec/cassettes/Floodgate_Client/_set_redirect_url/when_a_redirect_url_is_specified/changes_the_redirect_url.yml +20 -20
- data/spec/cassettes/Floodgate_Client/_set_redirect_url/when_nil_is_specified/clears_the_redirect_url.yml +20 -20
- data/spec/cassettes/Floodgate_Client/_status/when_the_credentials_are_not_valid/returns_the_default_status.yml +5 -5
- data/spec/cassettes/Floodgate_Client/_status/when_the_credentials_are_valid/and_traffic_filtering_is_enabled/filter_traffic_is_true.yml +5 -5
- data/spec/cassettes/Floodgate_Client/_status/when_the_credentials_are_valid/and_traffic_filtering_is_not_enabled/filter_traffic_is_false.yml +5 -5
- 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: 256a1c38d289a5b5555ff0cfece9ab3c13c80baf
|
4
|
+
data.tar.gz: 4328c065a37a917f6ace34205621cc148dae4ed8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 249f8760bba66dd209b474272b7c4b51eceefa8e59d9727c049b047dc2a7fb9977c6bf6ddeff3ba3ec411a10df294e6be33c522051f49de321414fbeec596026
|
7
|
+
data.tar.gz: cf4d3c6e13a3bb5eff6b1a75bae85b9c161e99f72a803a4570c6ea3f26af6ae7868bd7cf36d1a06fa8481473d303bbb228aaac5084d523a5d6520037af0a1952
|
data/lib/floodgate/client.rb
CHANGED
@@ -106,11 +106,11 @@ module Floodgate
|
|
106
106
|
end
|
107
107
|
|
108
108
|
def self.host_name
|
109
|
-
Config.test? ? 'staging
|
109
|
+
Config.test? ? 'staging-api.floodgate.io' : 'api.floodgate.io'
|
110
110
|
end
|
111
111
|
|
112
112
|
def self.base_url
|
113
|
-
"
|
113
|
+
"https://#{host_name}/api/apps/#{Config.app_id}"
|
114
114
|
end
|
115
115
|
|
116
116
|
def self.user_agent
|
data/lib/floodgate/version.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: delete
|
5
|
-
uri:
|
5
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec/ip_addresses
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ip_address%5Bip_address%5D=1.1.1.1&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -23,15 +23,15 @@ http_interactions:
|
|
23
23
|
content-type:
|
24
24
|
- application/json
|
25
25
|
date:
|
26
|
-
- Mon, 03 Mar 2014
|
26
|
+
- Mon, 03 Mar 2014 22:38:33 GMT
|
27
27
|
etag:
|
28
28
|
- "\"d751713988987e9331980363e24189ce\""
|
29
29
|
server:
|
30
30
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
31
31
|
x-request-id:
|
32
|
-
-
|
32
|
+
- 152c11b1-637d-4228-af57-587ee54e250b
|
33
33
|
x-runtime:
|
34
|
-
- '0.
|
34
|
+
- '0.011903'
|
35
35
|
content-length:
|
36
36
|
- '2'
|
37
37
|
connection:
|
@@ -40,10 +40,10 @@ http_interactions:
|
|
40
40
|
encoding: UTF-8
|
41
41
|
string: "[]"
|
42
42
|
http_version:
|
43
|
-
recorded_at: Mon, 03 Mar 2014
|
43
|
+
recorded_at: Mon, 03 Mar 2014 22:38:26 GMT
|
44
44
|
- request:
|
45
45
|
method: get
|
46
|
-
uri:
|
46
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
47
47
|
body:
|
48
48
|
encoding: US-ASCII
|
49
49
|
string: ''
|
@@ -62,15 +62,15 @@ http_interactions:
|
|
62
62
|
content-type:
|
63
63
|
- application/json
|
64
64
|
date:
|
65
|
-
- Mon, 03 Mar 2014
|
65
|
+
- Mon, 03 Mar 2014 22:38:34 GMT
|
66
66
|
etag:
|
67
67
|
- "\"5dcd96cc7b45b270738601bce30d703f\""
|
68
68
|
server:
|
69
69
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
70
70
|
x-request-id:
|
71
|
-
-
|
71
|
+
- e3fa4db9-8441-46b6-baec-e294dede0748
|
72
72
|
x-runtime:
|
73
|
-
- '0.
|
73
|
+
- '0.007545'
|
74
74
|
content-length:
|
75
75
|
- '126'
|
76
76
|
connection:
|
@@ -79,10 +79,10 @@ http_interactions:
|
|
79
79
|
encoding: UTF-8
|
80
80
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
81
81
|
http_version:
|
82
|
-
recorded_at: Mon, 03 Mar 2014
|
82
|
+
recorded_at: Mon, 03 Mar 2014 22:38:27 GMT
|
83
83
|
- request:
|
84
84
|
method: post
|
85
|
-
uri:
|
85
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec/ip_addresses
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: ip_address%5Bip_address%5D=1.1.1.1&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -103,15 +103,15 @@ http_interactions:
|
|
103
103
|
content-type:
|
104
104
|
- application/json
|
105
105
|
date:
|
106
|
-
- Mon, 03 Mar 2014
|
106
|
+
- Mon, 03 Mar 2014 22:38:34 GMT
|
107
107
|
etag:
|
108
108
|
- "\"bbc66f5c6fff2775354263608d971d3a\""
|
109
109
|
server:
|
110
110
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
111
111
|
x-request-id:
|
112
|
-
-
|
112
|
+
- 708ceb3d-cd0e-401d-b37f-4969fb6e270f
|
113
113
|
x-runtime:
|
114
|
-
- '0.
|
114
|
+
- '0.021426'
|
115
115
|
content-length:
|
116
116
|
- '24'
|
117
117
|
connection:
|
@@ -120,10 +120,10 @@ http_interactions:
|
|
120
120
|
encoding: UTF-8
|
121
121
|
string: "{\"ip_address\":\"1.1.1.1\"}"
|
122
122
|
http_version:
|
123
|
-
recorded_at: Mon, 03 Mar 2014
|
123
|
+
recorded_at: Mon, 03 Mar 2014 22:38:27 GMT
|
124
124
|
- request:
|
125
125
|
method: get
|
126
|
-
uri:
|
126
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
127
127
|
body:
|
128
128
|
encoding: US-ASCII
|
129
129
|
string: ''
|
@@ -142,15 +142,15 @@ http_interactions:
|
|
142
142
|
content-type:
|
143
143
|
- application/json
|
144
144
|
date:
|
145
|
-
- Mon, 03 Mar 2014
|
145
|
+
- Mon, 03 Mar 2014 22:38:34 GMT
|
146
146
|
etag:
|
147
147
|
- "\"56afa4fe0c249466945b8b5763f2a93a\""
|
148
148
|
server:
|
149
149
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
150
150
|
x-request-id:
|
151
|
-
-
|
151
|
+
- f45e8a84-e51d-42dd-b787-2aafe65e8ff4
|
152
152
|
x-runtime:
|
153
|
-
- '0.
|
153
|
+
- '0.014362'
|
154
154
|
content-length:
|
155
155
|
- '136'
|
156
156
|
connection:
|
@@ -159,10 +159,10 @@ http_interactions:
|
|
159
159
|
encoding: UTF-8
|
160
160
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\",\"1.1.1.1\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
161
161
|
http_version:
|
162
|
-
recorded_at: Mon, 03 Mar 2014
|
162
|
+
recorded_at: Mon, 03 Mar 2014 22:38:28 GMT
|
163
163
|
- request:
|
164
164
|
method: delete
|
165
|
-
uri:
|
165
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec/ip_addresses
|
166
166
|
body:
|
167
167
|
encoding: US-ASCII
|
168
168
|
string: ip_address%5Bip_address%5D=1.1.1.1&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -183,15 +183,15 @@ http_interactions:
|
|
183
183
|
content-type:
|
184
184
|
- application/json
|
185
185
|
date:
|
186
|
-
- Mon, 03 Mar 2014
|
186
|
+
- Mon, 03 Mar 2014 22:38:35 GMT
|
187
187
|
etag:
|
188
188
|
- "\"23e8cc0c8abfb81d69429dfc9203ea60\""
|
189
189
|
server:
|
190
190
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
191
191
|
x-request-id:
|
192
|
-
-
|
192
|
+
- 7dc42577-7ff3-4fab-bee8-64cddb866cf8
|
193
193
|
x-runtime:
|
194
|
-
- '0.
|
194
|
+
- '0.013891'
|
195
195
|
content-length:
|
196
196
|
- '43'
|
197
197
|
connection:
|
@@ -200,5 +200,5 @@ http_interactions:
|
|
200
200
|
encoding: UTF-8
|
201
201
|
string: "{\"ip_addresses\":[{\"ip_address\":\"1.1.1.1\"}]}"
|
202
202
|
http_version:
|
203
|
-
recorded_at: Mon, 03 Mar 2014
|
203
|
+
recorded_at: Mon, 03 Mar 2014 22:38:28 GMT
|
204
204
|
recorded_with: VCR 2.8.0
|
data/spec/cassettes/Floodgate_Client/_allowed_ip_addresses/returns_the_allowed_ip_addresses.yml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri:
|
5
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec/ip_addresses
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ip_address%5Bip_address%5D=1.1.1.1&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -23,15 +23,15 @@ http_interactions:
|
|
23
23
|
content-type:
|
24
24
|
- application/json
|
25
25
|
date:
|
26
|
-
- Mon, 03 Mar 2014
|
26
|
+
- Mon, 03 Mar 2014 22:38:35 GMT
|
27
27
|
etag:
|
28
28
|
- "\"bbc66f5c6fff2775354263608d971d3a\""
|
29
29
|
server:
|
30
30
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
31
31
|
x-request-id:
|
32
|
-
-
|
32
|
+
- 5cf997ca-011f-422d-9c3a-f0d4a404cf03
|
33
33
|
x-runtime:
|
34
|
-
- '0.
|
34
|
+
- '0.015751'
|
35
35
|
content-length:
|
36
36
|
- '24'
|
37
37
|
connection:
|
@@ -40,10 +40,10 @@ http_interactions:
|
|
40
40
|
encoding: UTF-8
|
41
41
|
string: "{\"ip_address\":\"1.1.1.1\"}"
|
42
42
|
http_version:
|
43
|
-
recorded_at: Mon, 03 Mar 2014
|
43
|
+
recorded_at: Mon, 03 Mar 2014 22:38:28 GMT
|
44
44
|
- request:
|
45
45
|
method: get
|
46
|
-
uri:
|
46
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
47
47
|
body:
|
48
48
|
encoding: US-ASCII
|
49
49
|
string: ''
|
@@ -62,15 +62,15 @@ http_interactions:
|
|
62
62
|
content-type:
|
63
63
|
- application/json
|
64
64
|
date:
|
65
|
-
- Mon, 03 Mar 2014
|
65
|
+
- Mon, 03 Mar 2014 22:38:36 GMT
|
66
66
|
etag:
|
67
67
|
- "\"56afa4fe0c249466945b8b5763f2a93a\""
|
68
68
|
server:
|
69
69
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
70
70
|
x-request-id:
|
71
|
-
-
|
71
|
+
- d64c29ac-7a0a-41fc-a90b-7fc3f9af35d3
|
72
72
|
x-runtime:
|
73
|
-
- '0.
|
73
|
+
- '0.006749'
|
74
74
|
content-length:
|
75
75
|
- '136'
|
76
76
|
connection:
|
@@ -79,10 +79,10 @@ http_interactions:
|
|
79
79
|
encoding: UTF-8
|
80
80
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\",\"1.1.1.1\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
81
81
|
http_version:
|
82
|
-
recorded_at: Mon, 03 Mar 2014
|
82
|
+
recorded_at: Mon, 03 Mar 2014 22:38:29 GMT
|
83
83
|
- request:
|
84
84
|
method: delete
|
85
|
-
uri:
|
85
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec/ip_addresses
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: ip_address%5Bip_address%5D=1.1.1.1&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -103,15 +103,15 @@ http_interactions:
|
|
103
103
|
content-type:
|
104
104
|
- application/json
|
105
105
|
date:
|
106
|
-
- Mon, 03 Mar 2014
|
106
|
+
- Mon, 03 Mar 2014 22:38:36 GMT
|
107
107
|
etag:
|
108
108
|
- "\"23e8cc0c8abfb81d69429dfc9203ea60\""
|
109
109
|
server:
|
110
110
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
111
111
|
x-request-id:
|
112
|
-
-
|
112
|
+
- 6f017294-daae-4f9f-93c1-6f5db0c7967b
|
113
113
|
x-runtime:
|
114
|
-
- '0.
|
114
|
+
- '0.013301'
|
115
115
|
content-length:
|
116
116
|
- '43'
|
117
117
|
connection:
|
@@ -120,5 +120,5 @@ http_interactions:
|
|
120
120
|
encoding: UTF-8
|
121
121
|
string: "{\"ip_addresses\":[{\"ip_address\":\"1.1.1.1\"}]}"
|
122
122
|
http_version:
|
123
|
-
recorded_at: Mon, 03 Mar 2014
|
123
|
+
recorded_at: Mon, 03 Mar 2014 22:38:29 GMT
|
124
124
|
recorded_with: VCR 2.8.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: put
|
5
|
-
uri:
|
5
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: app%5Bfilter_traffic%5D=false&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -23,15 +23,15 @@ http_interactions:
|
|
23
23
|
content-type:
|
24
24
|
- application/json
|
25
25
|
date:
|
26
|
-
- Mon, 03 Mar 2014
|
26
|
+
- Mon, 03 Mar 2014 22:38:36 GMT
|
27
27
|
etag:
|
28
28
|
- "\"5dcd96cc7b45b270738601bce30d703f\""
|
29
29
|
server:
|
30
30
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
31
31
|
x-request-id:
|
32
|
-
-
|
32
|
+
- b61df4c8-94b4-4033-b79a-48087fd5daa5
|
33
33
|
x-runtime:
|
34
|
-
- '0.
|
34
|
+
- '0.011469'
|
35
35
|
content-length:
|
36
36
|
- '126'
|
37
37
|
connection:
|
@@ -40,10 +40,10 @@ http_interactions:
|
|
40
40
|
encoding: UTF-8
|
41
41
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
42
42
|
http_version:
|
43
|
-
recorded_at: Mon, 03 Mar 2014
|
43
|
+
recorded_at: Mon, 03 Mar 2014 22:38:29 GMT
|
44
44
|
- request:
|
45
45
|
method: get
|
46
|
-
uri:
|
46
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
47
47
|
body:
|
48
48
|
encoding: US-ASCII
|
49
49
|
string: ''
|
@@ -62,15 +62,15 @@ http_interactions:
|
|
62
62
|
content-type:
|
63
63
|
- application/json
|
64
64
|
date:
|
65
|
-
- Mon, 03 Mar 2014
|
65
|
+
- Mon, 03 Mar 2014 22:38:37 GMT
|
66
66
|
etag:
|
67
67
|
- "\"5dcd96cc7b45b270738601bce30d703f\""
|
68
68
|
server:
|
69
69
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
70
70
|
x-request-id:
|
71
|
-
-
|
71
|
+
- 11a09aef-30df-4aed-820c-0c842eda3cd6
|
72
72
|
x-runtime:
|
73
|
-
- '0.
|
73
|
+
- '0.006938'
|
74
74
|
content-length:
|
75
75
|
- '126'
|
76
76
|
connection:
|
@@ -79,10 +79,10 @@ http_interactions:
|
|
79
79
|
encoding: UTF-8
|
80
80
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
81
81
|
http_version:
|
82
|
-
recorded_at: Mon, 03 Mar 2014
|
82
|
+
recorded_at: Mon, 03 Mar 2014 22:38:30 GMT
|
83
83
|
- request:
|
84
84
|
method: put
|
85
|
-
uri:
|
85
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: app%5Bfilter_traffic%5D=true&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -103,15 +103,15 @@ http_interactions:
|
|
103
103
|
content-type:
|
104
104
|
- application/json
|
105
105
|
date:
|
106
|
-
- Mon, 03 Mar 2014
|
106
|
+
- Mon, 03 Mar 2014 22:38:37 GMT
|
107
107
|
etag:
|
108
108
|
- "\"7771a307c8a2bc95dff054cd3bfcbf9c\""
|
109
109
|
server:
|
110
110
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
111
111
|
x-request-id:
|
112
|
-
-
|
112
|
+
- 94d6c379-a902-435f-8a47-b5e00a0ee140
|
113
113
|
x-runtime:
|
114
|
-
- '0.
|
114
|
+
- '0.020389'
|
115
115
|
content-length:
|
116
116
|
- '125'
|
117
117
|
connection:
|
@@ -120,10 +120,10 @@ http_interactions:
|
|
120
120
|
encoding: UTF-8
|
121
121
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":true,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
122
122
|
http_version:
|
123
|
-
recorded_at: Mon, 03 Mar 2014
|
123
|
+
recorded_at: Mon, 03 Mar 2014 22:38:30 GMT
|
124
124
|
- request:
|
125
125
|
method: get
|
126
|
-
uri:
|
126
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
127
127
|
body:
|
128
128
|
encoding: US-ASCII
|
129
129
|
string: ''
|
@@ -142,15 +142,15 @@ http_interactions:
|
|
142
142
|
content-type:
|
143
143
|
- application/json
|
144
144
|
date:
|
145
|
-
- Mon, 03 Mar 2014
|
145
|
+
- Mon, 03 Mar 2014 22:38:37 GMT
|
146
146
|
etag:
|
147
147
|
- "\"7771a307c8a2bc95dff054cd3bfcbf9c\""
|
148
148
|
server:
|
149
149
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
150
150
|
x-request-id:
|
151
|
-
-
|
151
|
+
- bc3f9e03-7efa-42ff-8b4c-5c7afb9e321a
|
152
152
|
x-runtime:
|
153
|
-
- '0.
|
153
|
+
- '0.009302'
|
154
154
|
content-length:
|
155
155
|
- '125'
|
156
156
|
connection:
|
@@ -159,5 +159,5 @@ http_interactions:
|
|
159
159
|
encoding: UTF-8
|
160
160
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":true,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
161
161
|
http_version:
|
162
|
-
recorded_at: Mon, 03 Mar 2014
|
162
|
+
recorded_at: Mon, 03 Mar 2014 22:38:31 GMT
|
163
163
|
recorded_with: VCR 2.8.0
|
@@ -17,7 +17,7 @@ http_interactions:
|
|
17
17
|
server:
|
18
18
|
- MochiWeb/1.0 (Any of you quaids got a smint?)
|
19
19
|
date:
|
20
|
-
- Mon, 03 Mar 2014
|
20
|
+
- Mon, 03 Mar 2014 22:37:19 GMT
|
21
21
|
content-type:
|
22
22
|
- text/plain
|
23
23
|
content-length:
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
body:
|
26
26
|
encoding: UTF-8
|
27
27
|
string: |
|
28
|
-
|
28
|
+
99.126.182.174
|
29
29
|
http_version:
|
30
|
-
recorded_at: Mon, 03 Mar 2014
|
30
|
+
recorded_at: Mon, 03 Mar 2014 22:38:31 GMT
|
31
31
|
recorded_with: VCR 2.8.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: put
|
5
|
-
uri:
|
5
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: app%5Bfilter_traffic%5D=true&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -23,15 +23,15 @@ http_interactions:
|
|
23
23
|
content-type:
|
24
24
|
- application/json
|
25
25
|
date:
|
26
|
-
- Mon, 03 Mar 2014
|
26
|
+
- Mon, 03 Mar 2014 22:38:38 GMT
|
27
27
|
etag:
|
28
28
|
- "\"7771a307c8a2bc95dff054cd3bfcbf9c\""
|
29
29
|
server:
|
30
30
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
31
31
|
x-request-id:
|
32
|
-
-
|
32
|
+
- ef52b2ad-abda-4199-93bb-67ff3128802d
|
33
33
|
x-runtime:
|
34
|
-
- '0.
|
34
|
+
- '0.009380'
|
35
35
|
content-length:
|
36
36
|
- '125'
|
37
37
|
connection:
|
@@ -40,10 +40,10 @@ http_interactions:
|
|
40
40
|
encoding: UTF-8
|
41
41
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":true,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
42
42
|
http_version:
|
43
|
-
recorded_at: Mon, 03 Mar 2014
|
43
|
+
recorded_at: Mon, 03 Mar 2014 22:38:31 GMT
|
44
44
|
- request:
|
45
45
|
method: get
|
46
|
-
uri:
|
46
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
47
47
|
body:
|
48
48
|
encoding: US-ASCII
|
49
49
|
string: ''
|
@@ -62,15 +62,15 @@ http_interactions:
|
|
62
62
|
content-type:
|
63
63
|
- application/json
|
64
64
|
date:
|
65
|
-
- Mon, 03 Mar 2014
|
65
|
+
- Mon, 03 Mar 2014 22:38:38 GMT
|
66
66
|
etag:
|
67
67
|
- "\"7771a307c8a2bc95dff054cd3bfcbf9c\""
|
68
68
|
server:
|
69
69
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
70
70
|
x-request-id:
|
71
|
-
-
|
71
|
+
- a91331f8-7f29-4d50-882d-2e227e4fc1eb
|
72
72
|
x-runtime:
|
73
|
-
- '0.
|
73
|
+
- '0.006671'
|
74
74
|
content-length:
|
75
75
|
- '125'
|
76
76
|
connection:
|
@@ -79,10 +79,10 @@ http_interactions:
|
|
79
79
|
encoding: UTF-8
|
80
80
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":true,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
81
81
|
http_version:
|
82
|
-
recorded_at: Mon, 03 Mar 2014
|
82
|
+
recorded_at: Mon, 03 Mar 2014 22:38:32 GMT
|
83
83
|
- request:
|
84
84
|
method: put
|
85
|
-
uri:
|
85
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: app%5Bfilter_traffic%5D=false&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -103,15 +103,15 @@ http_interactions:
|
|
103
103
|
content-type:
|
104
104
|
- application/json
|
105
105
|
date:
|
106
|
-
- Mon, 03 Mar 2014
|
106
|
+
- Mon, 03 Mar 2014 22:38:39 GMT
|
107
107
|
etag:
|
108
108
|
- "\"5dcd96cc7b45b270738601bce30d703f\""
|
109
109
|
server:
|
110
110
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
111
111
|
x-request-id:
|
112
|
-
-
|
112
|
+
- cb0ff049-de6f-4e60-8b74-b8fc7a8f1589
|
113
113
|
x-runtime:
|
114
|
-
- '0.
|
114
|
+
- '0.012622'
|
115
115
|
content-length:
|
116
116
|
- '126'
|
117
117
|
connection:
|
@@ -120,10 +120,10 @@ http_interactions:
|
|
120
120
|
encoding: UTF-8
|
121
121
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
122
122
|
http_version:
|
123
|
-
recorded_at: Mon, 03 Mar 2014
|
123
|
+
recorded_at: Mon, 03 Mar 2014 22:38:32 GMT
|
124
124
|
- request:
|
125
125
|
method: get
|
126
|
-
uri:
|
126
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
127
127
|
body:
|
128
128
|
encoding: US-ASCII
|
129
129
|
string: ''
|
@@ -142,15 +142,15 @@ http_interactions:
|
|
142
142
|
content-type:
|
143
143
|
- application/json
|
144
144
|
date:
|
145
|
-
- Mon, 03 Mar 2014
|
145
|
+
- Mon, 03 Mar 2014 22:38:39 GMT
|
146
146
|
etag:
|
147
147
|
- "\"5dcd96cc7b45b270738601bce30d703f\""
|
148
148
|
server:
|
149
149
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
150
150
|
x-request-id:
|
151
|
-
-
|
151
|
+
- 571e4928-ef6d-4855-b20e-1f5b84b60f63
|
152
152
|
x-runtime:
|
153
|
-
- '0.
|
153
|
+
- '0.007795'
|
154
154
|
content-length:
|
155
155
|
- '126'
|
156
156
|
connection:
|
@@ -159,5 +159,5 @@ http_interactions:
|
|
159
159
|
encoding: UTF-8
|
160
160
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
161
161
|
http_version:
|
162
|
-
recorded_at: Mon, 03 Mar 2014
|
162
|
+
recorded_at: Mon, 03 Mar 2014 22:38:32 GMT
|
163
163
|
recorded_with: VCR 2.8.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri:
|
5
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec/ip_addresses
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ip_address%5Bip_address%5D=1.1.1.1&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -23,15 +23,15 @@ http_interactions:
|
|
23
23
|
content-type:
|
24
24
|
- application/json
|
25
25
|
date:
|
26
|
-
- Mon, 03 Mar 2014
|
26
|
+
- Mon, 03 Mar 2014 22:38:40 GMT
|
27
27
|
etag:
|
28
28
|
- "\"bbc66f5c6fff2775354263608d971d3a\""
|
29
29
|
server:
|
30
30
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
31
31
|
x-request-id:
|
32
|
-
-
|
32
|
+
- 1e86bc5c-c36c-4f9c-bdc6-e106dd209f5f
|
33
33
|
x-runtime:
|
34
|
-
- '0.
|
34
|
+
- '0.011529'
|
35
35
|
content-length:
|
36
36
|
- '24'
|
37
37
|
connection:
|
@@ -40,10 +40,10 @@ http_interactions:
|
|
40
40
|
encoding: UTF-8
|
41
41
|
string: "{\"ip_address\":\"1.1.1.1\"}"
|
42
42
|
http_version:
|
43
|
-
recorded_at: Mon, 03 Mar 2014
|
43
|
+
recorded_at: Mon, 03 Mar 2014 22:38:33 GMT
|
44
44
|
- request:
|
45
45
|
method: get
|
46
|
-
uri:
|
46
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
47
47
|
body:
|
48
48
|
encoding: US-ASCII
|
49
49
|
string: ''
|
@@ -62,15 +62,15 @@ http_interactions:
|
|
62
62
|
content-type:
|
63
63
|
- application/json
|
64
64
|
date:
|
65
|
-
- Mon, 03 Mar 2014
|
65
|
+
- Mon, 03 Mar 2014 22:38:40 GMT
|
66
66
|
etag:
|
67
67
|
- "\"56afa4fe0c249466945b8b5763f2a93a\""
|
68
68
|
server:
|
69
69
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
70
70
|
x-request-id:
|
71
|
-
-
|
71
|
+
- 22e2f6a0-c266-416e-993e-4f9345c062f2
|
72
72
|
x-runtime:
|
73
|
-
- '0.
|
73
|
+
- '0.007031'
|
74
74
|
content-length:
|
75
75
|
- '136'
|
76
76
|
connection:
|
@@ -79,10 +79,10 @@ http_interactions:
|
|
79
79
|
encoding: UTF-8
|
80
80
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\",\"1.1.1.1\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
81
81
|
http_version:
|
82
|
-
recorded_at: Mon, 03 Mar 2014
|
82
|
+
recorded_at: Mon, 03 Mar 2014 22:38:33 GMT
|
83
83
|
- request:
|
84
84
|
method: delete
|
85
|
-
uri:
|
85
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec/ip_addresses
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: ip_address%5Bip_address%5D=1.1.1.1&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -103,15 +103,15 @@ http_interactions:
|
|
103
103
|
content-type:
|
104
104
|
- application/json
|
105
105
|
date:
|
106
|
-
- Mon, 03 Mar 2014
|
106
|
+
- Mon, 03 Mar 2014 22:38:40 GMT
|
107
107
|
etag:
|
108
108
|
- "\"23e8cc0c8abfb81d69429dfc9203ea60\""
|
109
109
|
server:
|
110
110
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
111
111
|
x-request-id:
|
112
|
-
-
|
112
|
+
- a1cc3588-2afd-487b-8fe8-bd85372da902
|
113
113
|
x-runtime:
|
114
|
-
- '0.
|
114
|
+
- '0.011746'
|
115
115
|
content-length:
|
116
116
|
- '43'
|
117
117
|
connection:
|
@@ -120,10 +120,10 @@ http_interactions:
|
|
120
120
|
encoding: UTF-8
|
121
121
|
string: "{\"ip_addresses\":[{\"ip_address\":\"1.1.1.1\"}]}"
|
122
122
|
http_version:
|
123
|
-
recorded_at: Mon, 03 Mar 2014
|
123
|
+
recorded_at: Mon, 03 Mar 2014 22:38:33 GMT
|
124
124
|
- request:
|
125
125
|
method: get
|
126
|
-
uri:
|
126
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
127
127
|
body:
|
128
128
|
encoding: US-ASCII
|
129
129
|
string: ''
|
@@ -142,15 +142,15 @@ http_interactions:
|
|
142
142
|
content-type:
|
143
143
|
- application/json
|
144
144
|
date:
|
145
|
-
- Mon, 03 Mar 2014
|
145
|
+
- Mon, 03 Mar 2014 22:38:41 GMT
|
146
146
|
etag:
|
147
147
|
- "\"5dcd96cc7b45b270738601bce30d703f\""
|
148
148
|
server:
|
149
149
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
150
150
|
x-request-id:
|
151
|
-
-
|
151
|
+
- 12b5ad38-f394-4c33-95e2-281152f8c310
|
152
152
|
x-runtime:
|
153
|
-
- '0.
|
153
|
+
- '0.007677'
|
154
154
|
content-length:
|
155
155
|
- '126'
|
156
156
|
connection:
|
@@ -159,5 +159,5 @@ http_interactions:
|
|
159
159
|
encoding: UTF-8
|
160
160
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
161
161
|
http_version:
|
162
|
-
recorded_at: Mon, 03 Mar 2014
|
162
|
+
recorded_at: Mon, 03 Mar 2014 22:38:34 GMT
|
163
163
|
recorded_with: VCR 2.8.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: put
|
5
|
-
uri:
|
5
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: app%5Bredirect_url%5D&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -23,15 +23,15 @@ http_interactions:
|
|
23
23
|
content-type:
|
24
24
|
- application/json
|
25
25
|
date:
|
26
|
-
- Mon, 03 Mar 2014
|
26
|
+
- Mon, 03 Mar 2014 22:38:41 GMT
|
27
27
|
etag:
|
28
28
|
- "\"5dcd96cc7b45b270738601bce30d703f\""
|
29
29
|
server:
|
30
30
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
31
31
|
x-request-id:
|
32
|
-
-
|
32
|
+
- defa51e6-58aa-4450-8c6d-57386ae8b1c7
|
33
33
|
x-runtime:
|
34
|
-
- '0.
|
34
|
+
- '0.013389'
|
35
35
|
content-length:
|
36
36
|
- '126'
|
37
37
|
connection:
|
@@ -40,10 +40,10 @@ http_interactions:
|
|
40
40
|
encoding: UTF-8
|
41
41
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
42
42
|
http_version:
|
43
|
-
recorded_at: Mon, 03 Mar 2014
|
43
|
+
recorded_at: Mon, 03 Mar 2014 22:38:34 GMT
|
44
44
|
- request:
|
45
45
|
method: get
|
46
|
-
uri:
|
46
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
47
47
|
body:
|
48
48
|
encoding: US-ASCII
|
49
49
|
string: ''
|
@@ -62,15 +62,15 @@ http_interactions:
|
|
62
62
|
content-type:
|
63
63
|
- application/json
|
64
64
|
date:
|
65
|
-
- Mon, 03 Mar 2014
|
65
|
+
- Mon, 03 Mar 2014 22:38:42 GMT
|
66
66
|
etag:
|
67
67
|
- "\"5dcd96cc7b45b270738601bce30d703f\""
|
68
68
|
server:
|
69
69
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
70
70
|
x-request-id:
|
71
|
-
-
|
71
|
+
- 04ced5dd-a4db-4a40-be2e-48cbd89c4f56
|
72
72
|
x-runtime:
|
73
|
-
- '0.
|
73
|
+
- '0.006300'
|
74
74
|
content-length:
|
75
75
|
- '126'
|
76
76
|
connection:
|
@@ -79,10 +79,10 @@ http_interactions:
|
|
79
79
|
encoding: UTF-8
|
80
80
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
81
81
|
http_version:
|
82
|
-
recorded_at: Mon, 03 Mar 2014
|
82
|
+
recorded_at: Mon, 03 Mar 2014 22:38:35 GMT
|
83
83
|
- request:
|
84
84
|
method: put
|
85
|
-
uri:
|
85
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: app%5Bredirect_url%5D=http%3A%2F%2Fexample.com&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -103,15 +103,15 @@ http_interactions:
|
|
103
103
|
content-type:
|
104
104
|
- application/json
|
105
105
|
date:
|
106
|
-
- Mon, 03 Mar 2014
|
106
|
+
- Mon, 03 Mar 2014 22:38:42 GMT
|
107
107
|
etag:
|
108
108
|
- "\"e095bacd98a20e55860f5d335f67baee\""
|
109
109
|
server:
|
110
110
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
111
111
|
x-request-id:
|
112
|
-
-
|
112
|
+
- 9e292de2-e533-4ee2-89ac-41b6d87f3dff
|
113
113
|
x-runtime:
|
114
|
-
- '0.
|
114
|
+
- '0.012919'
|
115
115
|
content-length:
|
116
116
|
- '142'
|
117
117
|
connection:
|
@@ -120,10 +120,10 @@ http_interactions:
|
|
120
120
|
encoding: UTF-8
|
121
121
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":\"http://example.com\"}"
|
122
122
|
http_version:
|
123
|
-
recorded_at: Mon, 03 Mar 2014
|
123
|
+
recorded_at: Mon, 03 Mar 2014 22:38:35 GMT
|
124
124
|
- request:
|
125
125
|
method: get
|
126
|
-
uri:
|
126
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
127
127
|
body:
|
128
128
|
encoding: US-ASCII
|
129
129
|
string: ''
|
@@ -142,15 +142,15 @@ http_interactions:
|
|
142
142
|
content-type:
|
143
143
|
- application/json
|
144
144
|
date:
|
145
|
-
- Mon, 03 Mar 2014
|
145
|
+
- Mon, 03 Mar 2014 22:38:42 GMT
|
146
146
|
etag:
|
147
147
|
- "\"e095bacd98a20e55860f5d335f67baee\""
|
148
148
|
server:
|
149
149
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
150
150
|
x-request-id:
|
151
|
-
-
|
151
|
+
- e36c4362-173f-4b93-83bd-79c76f6ca890
|
152
152
|
x-runtime:
|
153
|
-
- '0.
|
153
|
+
- '0.006256'
|
154
154
|
content-length:
|
155
155
|
- '142'
|
156
156
|
connection:
|
@@ -159,5 +159,5 @@ http_interactions:
|
|
159
159
|
encoding: UTF-8
|
160
160
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":\"http://example.com\"}"
|
161
161
|
http_version:
|
162
|
-
recorded_at: Mon, 03 Mar 2014
|
162
|
+
recorded_at: Mon, 03 Mar 2014 22:38:35 GMT
|
163
163
|
recorded_with: VCR 2.8.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: put
|
5
|
-
uri:
|
5
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: app%5Bredirect_url%5D=http%3A%2F%2Fexample.com&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -23,15 +23,15 @@ http_interactions:
|
|
23
23
|
content-type:
|
24
24
|
- application/json
|
25
25
|
date:
|
26
|
-
- Mon, 03 Mar 2014
|
26
|
+
- Mon, 03 Mar 2014 22:38:43 GMT
|
27
27
|
etag:
|
28
28
|
- "\"e095bacd98a20e55860f5d335f67baee\""
|
29
29
|
server:
|
30
30
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
31
31
|
x-request-id:
|
32
|
-
-
|
32
|
+
- d079de3b-5e2b-43e5-8228-534703565445
|
33
33
|
x-runtime:
|
34
|
-
- '0.
|
34
|
+
- '0.010090'
|
35
35
|
content-length:
|
36
36
|
- '142'
|
37
37
|
connection:
|
@@ -40,10 +40,10 @@ http_interactions:
|
|
40
40
|
encoding: UTF-8
|
41
41
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":\"http://example.com\"}"
|
42
42
|
http_version:
|
43
|
-
recorded_at: Mon, 03 Mar 2014
|
43
|
+
recorded_at: Mon, 03 Mar 2014 22:38:36 GMT
|
44
44
|
- request:
|
45
45
|
method: get
|
46
|
-
uri:
|
46
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
47
47
|
body:
|
48
48
|
encoding: US-ASCII
|
49
49
|
string: ''
|
@@ -62,15 +62,15 @@ http_interactions:
|
|
62
62
|
content-type:
|
63
63
|
- application/json
|
64
64
|
date:
|
65
|
-
- Mon, 03 Mar 2014
|
65
|
+
- Mon, 03 Mar 2014 22:38:43 GMT
|
66
66
|
etag:
|
67
67
|
- "\"e095bacd98a20e55860f5d335f67baee\""
|
68
68
|
server:
|
69
69
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
70
70
|
x-request-id:
|
71
|
-
-
|
71
|
+
- bb9291c9-707b-4fe6-bc96-585ad094bded
|
72
72
|
x-runtime:
|
73
|
-
- '0.
|
73
|
+
- '0.007488'
|
74
74
|
content-length:
|
75
75
|
- '142'
|
76
76
|
connection:
|
@@ -79,10 +79,10 @@ http_interactions:
|
|
79
79
|
encoding: UTF-8
|
80
80
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":\"http://example.com\"}"
|
81
81
|
http_version:
|
82
|
-
recorded_at: Mon, 03 Mar 2014
|
82
|
+
recorded_at: Mon, 03 Mar 2014 22:38:36 GMT
|
83
83
|
- request:
|
84
84
|
method: put
|
85
|
-
uri:
|
85
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: app%5Bredirect_url%5D&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -103,15 +103,15 @@ http_interactions:
|
|
103
103
|
content-type:
|
104
104
|
- application/json
|
105
105
|
date:
|
106
|
-
- Mon, 03 Mar 2014
|
106
|
+
- Mon, 03 Mar 2014 22:38:44 GMT
|
107
107
|
etag:
|
108
108
|
- "\"5dcd96cc7b45b270738601bce30d703f\""
|
109
109
|
server:
|
110
110
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
111
111
|
x-request-id:
|
112
|
-
-
|
112
|
+
- 1ebebe5a-1481-4de4-88b6-dfa00ed039d5
|
113
113
|
x-runtime:
|
114
|
-
- '0.
|
114
|
+
- '0.012776'
|
115
115
|
content-length:
|
116
116
|
- '126'
|
117
117
|
connection:
|
@@ -120,10 +120,10 @@ http_interactions:
|
|
120
120
|
encoding: UTF-8
|
121
121
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
122
122
|
http_version:
|
123
|
-
recorded_at: Mon, 03 Mar 2014
|
123
|
+
recorded_at: Mon, 03 Mar 2014 22:38:37 GMT
|
124
124
|
- request:
|
125
125
|
method: get
|
126
|
-
uri:
|
126
|
+
uri: https://staging-api.floodgate.io/api/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
127
127
|
body:
|
128
128
|
encoding: US-ASCII
|
129
129
|
string: ''
|
@@ -142,15 +142,15 @@ http_interactions:
|
|
142
142
|
content-type:
|
143
143
|
- application/json
|
144
144
|
date:
|
145
|
-
- Mon, 03 Mar 2014
|
145
|
+
- Mon, 03 Mar 2014 22:38:44 GMT
|
146
146
|
etag:
|
147
147
|
- "\"5dcd96cc7b45b270738601bce30d703f\""
|
148
148
|
server:
|
149
149
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
150
150
|
x-request-id:
|
151
|
-
-
|
151
|
+
- a8771e43-a978-4e95-9b0b-d386eeb51e24
|
152
152
|
x-runtime:
|
153
|
-
- '0.
|
153
|
+
- '0.006341'
|
154
154
|
content-length:
|
155
155
|
- '126'
|
156
156
|
connection:
|
@@ -159,5 +159,5 @@ http_interactions:
|
|
159
159
|
encoding: UTF-8
|
160
160
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
161
161
|
http_version:
|
162
|
-
recorded_at: Mon, 03 Mar 2014
|
162
|
+
recorded_at: Mon, 03 Mar 2014 22:38:37 GMT
|
163
163
|
recorded_with: VCR 2.8.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: https://staging-api.floodgate.io/api/apps/foo/status?api_token=bar
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -21,13 +21,13 @@ http_interactions:
|
|
21
21
|
content-type:
|
22
22
|
- application/json
|
23
23
|
date:
|
24
|
-
- Mon, 03 Mar 2014
|
24
|
+
- Mon, 03 Mar 2014 22:38:44 GMT
|
25
25
|
server:
|
26
26
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
27
27
|
x-request-id:
|
28
|
-
-
|
28
|
+
- 11672bb9-da86-4184-ac96-db4797c52235
|
29
29
|
x-runtime:
|
30
|
-
- '0.
|
30
|
+
- '0.004574'
|
31
31
|
content-length:
|
32
32
|
- '28'
|
33
33
|
connection:
|
@@ -36,5 +36,5 @@ http_interactions:
|
|
36
36
|
encoding: UTF-8
|
37
37
|
string: "{\"error\":\"401 Unauthorized\"}"
|
38
38
|
http_version:
|
39
|
-
recorded_at: Mon, 03 Mar 2014
|
39
|
+
recorded_at: Mon, 03 Mar 2014 22:38:37 GMT
|
40
40
|
recorded_with: VCR 2.8.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: https://staging-api.floodgate.io/api/apps/fa5d63bcf3d6b557eee782c9e61e4002/status?api_token=da2f2d06c102eea0f1971c2c90936ee3
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -21,15 +21,15 @@ http_interactions:
|
|
21
21
|
content-type:
|
22
22
|
- application/json
|
23
23
|
date:
|
24
|
-
- Mon, 03 Mar 2014
|
24
|
+
- Mon, 03 Mar 2014 22:38:45 GMT
|
25
25
|
etag:
|
26
26
|
- "\"dee747427e4c4ad6746155406732f396\""
|
27
27
|
server:
|
28
28
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
29
29
|
x-request-id:
|
30
|
-
-
|
30
|
+
- 68497236-1c06-4629-82f2-5f3b896bc9bb
|
31
31
|
x-runtime:
|
32
|
-
- '0.
|
32
|
+
- '0.006353'
|
33
33
|
content-length:
|
34
34
|
- '112'
|
35
35
|
connection:
|
@@ -38,5 +38,5 @@ http_interactions:
|
|
38
38
|
encoding: UTF-8
|
39
39
|
string: "{\"allowed_ip_addresses\":[],\"filter_traffic\":true,\"name\":\"floodgate-gem-filter-traffic-true\",\"redirect_url\":null}"
|
40
40
|
http_version:
|
41
|
-
recorded_at: Mon, 03 Mar 2014
|
41
|
+
recorded_at: Mon, 03 Mar 2014 22:38:38 GMT
|
42
42
|
recorded_with: VCR 2.8.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: https://staging-api.floodgate.io/api/apps/cbaeb13b7f63956ef70c382a7a67407d/status?api_token=349d2b1ee8ec56eb04b909b1eb9993b0
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -21,15 +21,15 @@ http_interactions:
|
|
21
21
|
content-type:
|
22
22
|
- application/json
|
23
23
|
date:
|
24
|
-
- Mon, 03 Mar 2014
|
24
|
+
- Mon, 03 Mar 2014 22:38:45 GMT
|
25
25
|
etag:
|
26
26
|
- "\"8843d65a25ba489ef0f7eea44981e1f6\""
|
27
27
|
server:
|
28
28
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
29
29
|
x-request-id:
|
30
|
-
-
|
30
|
+
- ecbe2643-2eba-4fa8-b64a-fbff88d3c566
|
31
31
|
x-runtime:
|
32
|
-
- '0.
|
32
|
+
- '0.006135'
|
33
33
|
content-length:
|
34
34
|
- '131'
|
35
35
|
connection:
|
@@ -38,5 +38,5 @@ http_interactions:
|
|
38
38
|
encoding: UTF-8
|
39
39
|
string: "{\"allowed_ip_addresses\":[\"166.147.100.145\"],\"filter_traffic\":false,\"name\":\"floodgate-gem-filter-traffic-false\",\"redirect_url\":null}"
|
40
40
|
http_version:
|
41
|
-
recorded_at: Mon, 03 Mar 2014
|
41
|
+
recorded_at: Mon, 03 Mar 2014 22:38:38 GMT
|
42
42
|
recorded_with: VCR 2.8.0
|