Sha256: 1948a50b981a7da969d74b80cb530064ea72743f15dc1d0449abc071faf58ee8

Contents?: true

Size: 519 Bytes

Versions: 1

Compression:

Stored size: 519 Bytes

Contents

% if mode == 'definition':
Balanced::ApiKey.new

% elif mode == 'request':
require 'balanced'
Balanced.configure('ak-test-1kvvievk0Qqw5wQPsrlM9g7wQwNe62cyc')

key = Balanced::ApiKey.new.save

% elif mode == 'response':
#<Balanced::ApiKey:0x007fdc9d289228
 @attributes=
  {"created_at"=>"2014-01-27T22:56:01.641736Z",
   "href"=>"/api_keys/AK1vqjn1eEHXP0JYXrBrjH5c",
   "id"=>"AK1vqjn1eEHXP0JYXrBrjH5c",
   "links"=>{},
   "meta"=>{},
   "secret"=>"ak-test-1jlJCdGZjRWWYRF1iLBR69xwqG2NdQifv"},
 @hyperlinks={}>

% endif

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
balanced-1.0.beta1 scenarios/api_key_create/ruby.mako