scenarios/api_key_create/ruby.mako in balanced-1.0.2 vs scenarios/api_key_create/ruby.mako in balanced-1.1.0
- old
+ new
@@ -1,21 +1,21 @@
% if mode == 'definition':
Balanced::ApiKey.new
% elif mode == 'request':
require 'balanced'
-Balanced.configure('ak-test-22IOkhevjZlmRP2do6CZixkkDshTiOjTV')
+Balanced.configure('ak-test-2q80HU8DISm2atgm0iRKRVIePzDb34qYp')
key = Balanced::ApiKey.new.save
% elif mode == 'response':
-#<Balanced::ApiKey:0x007fa93eb27070
+#<Balanced::ApiKey:0x007fa7d40b53a0
@attributes=
- {"created_at"=>"2014-04-25T20:09:11.537493Z",
- "href"=>"/api_keys/AK3DgZwSCD2ggxGSw1bsiyDX",
- "id"=>"AK3DgZwSCD2ggxGSw1bsiyDX",
+ {"created_at"=>"2014-05-15T00:38:16.692063Z",
+ "href"=>"/api_keys/AK1B3lNyPQ63pRQa1JDC5os5",
+ "id"=>"AK1B3lNyPQ63pRQa1JDC5os5",
"links"=>{},
"meta"=>{},
- "secret"=>"ak-test-2hjXn5Ny6P9aFu5jitCvkF06nNIHc3sYN"},
+ "secret"=>"ak-test-1GkkDibAyqrZDI1LDfepJSuUqKbSUnqA5"},
@hyperlinks={}>
% endif