Sha256: 1088f01c0bb01493ea4fe48a7213aadc0028c7ff9b1ee34df2915bc848196f3d
Contents?: true
Size: 441 Bytes
Versions: 1
Compression:
Stored size: 441 Bytes
Contents
require './lib/mirage/client' mirage = Mirage.start #mirage.clear #mirage.put('some/path/greeting', 'hello') do |response| # response.http_method = :post #end # #template = mirage.put('some/path/greeting', 'hello Michele') do |response| # response.http_method = :post # response.required_parameters['name']='Michele' # response.required_body_content << 'stara' # response.required_headers['Custom-Header']='special' #end #
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mirage-3.0.0.alpha.3 | test.rb |