Sha256: e7919ba4dc54c9ac347ad8a32150c2675a12cccb0cf369c8118901252d9c4de0

Contents?: true

Size: 564 Bytes

Versions: 1

Compression:

Stored size: 564 Bytes

Contents

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

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

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

% endif

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
balanced-1.2.1 scenarios/callback_create/ruby.mako