Sha256: f8809cdc4ca5df8f13a186ff8dd15b7eac9fa2f26141eef5ec730d7d84b6bd0f

Contents?: true

Size: 518 Bytes

Versions: 1

Compression:

Stored size: 518 Bytes

Contents

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

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

key = Balanced::ApiKey.new.save

% elif mode == 'response':
#<Balanced::ApiKey:0x007ff2bd9dc8a0
 @attributes=
  {"created_at"=>"2014-03-06T19:22:18.256643Z",
   "href"=>"/api_keys/AK4Vt1mJyCtjdSiGgqAebarR",
   "id"=>"AK4Vt1mJyCtjdSiGgqAebarR",
   "links"=>{},
   "meta"=>{},
   "secret"=>"ak-test-4bQUCg96rUwLV8FZXSTeq8WUSqROO9yT"},
 @hyperlinks={}>

% endif

Version data entries

1 entries across 1 versions & 1 rubygems

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