Sha256: 5f5384c1052ccbd1dc5359fc92739bd36d947a5537f26e7ee2b080642f34e5fe

Contents?: true

Size: 565 Bytes

Versions: 2

Compression:

Stored size: 565 Bytes

Contents

% if mode == 'definition':
Balanced::Callback.new
% elif mode == 'request':
require 'balanced'
Balanced.configure('ak-test-2q80HU8DISm2atgm0iRKRVIePzDb34qYp')

callback = Balanced::Callback.new(
  :method => 'post',
  :url => 'http://www.example.com/callback'
).save

% elif mode == 'response':
#<Balanced::Callback:0x007fa7d18d5d58
 @attributes=
  {"href"=>"/callbacks/CB2YCHTwHXMx9fZRKSbW3wNj",
   "id"=>"CB2YCHTwHXMx9fZRKSbW3wNj",
   "links"=>{},
   "method"=>"post",
   "revision"=>"1.1",
   "url"=>"http://www.example.com/callback"},
 @hyperlinks={}>

% endif

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
balanced-1.1.1 scenarios/callback_create/ruby.mako
balanced-1.1.0 scenarios/callback_create/ruby.mako