Sha256: fa3e1b89afc036dec0af064c8d65a8e99c0e4fa2d3617f13f209ae7c1bdd42ed
Contents?: true
Size: 565 Bytes
Versions: 1
Compression:
Stored size: 565 Bytes
Contents
% if mode == 'definition': Balanced::Callback.new % elif mode == 'request': require 'balanced' Balanced.configure('ak-test-2ADpvITfpgBn8uBzEGsQ2bIgWaftUWiul') callback = Balanced::Callback.new( :method => 'post', :url => 'http://www.example.com/callback' ).save % elif mode == 'response': #<Balanced::Callback:0x007ff2bd972b08 @attributes= {"href"=>"/callbacks/CB5pnz4XnaDpRFGlNMb6u50R", "id"=>"CB5pnz4XnaDpRFGlNMb6u50R", "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.0 | scenarios/callback_create/ruby.mako |