vault-rails 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
data/lib/vault-rails/version.rb
CHANGED
@@ -207,7 +207,7 @@ class Vault
|
|
207
207
|
$.ajax
|
208
208
|
type: 'DELETE'
|
209
209
|
url: @urls.delete
|
210
|
-
data: @strip object
|
210
|
+
data: JSON.stringify @strip object
|
211
211
|
fixture: (settings) ->
|
212
212
|
return true
|
213
213
|
success: (data) =>
|
@@ -228,7 +228,7 @@ class Vault
|
|
228
228
|
$.ajax
|
229
229
|
type: 'POST'
|
230
230
|
url: @urls.create
|
231
|
-
data: @strip object
|
231
|
+
data: JSON.stringify @strip object
|
232
232
|
fixture: (settings) =>
|
233
233
|
settings.data.id = @date.getTime()
|
234
234
|
|
@@ -249,7 +249,7 @@ class Vault
|
|
249
249
|
$.ajax
|
250
250
|
type: 'POST'
|
251
251
|
url: @urls.update
|
252
|
-
data: @strip object
|
252
|
+
data: JSON.stringify @strip object
|
253
253
|
fixture: (settings) ->
|
254
254
|
return true
|
255
255
|
success: (data) =>
|