Sha256: 31976e0ff189a2d919ffd3c16d2b2b1b11327c24fffb6da084910def509a3f7f

Contents?: true

Size: 297 Bytes

Versions: 31

Compression:

Stored size: 297 Bytes

Contents

#!/usr/bin/ruby
require 'riddl/client'

client = Riddl::Client.new("http://localhost:9298/39/callbacks/#{ARGV[1]}")
status, response, headers = client.put [
  Riddl::Header.new('CPEE_UPDATE','true'),
  Riddl::Header.new('CPEE_UPDATE_STATUS','georg'),
  Riddl::Parameter::Simple.new('x',ARGV[0])
]

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
cpee-1.3.189 test/callback.rb
cpee-1.3.188 test/callback.rb
cpee-1.3.187 test/callback.rb
cpee-1.3.185 test/callback.rb
cpee-1.3.184 test/callback.rb
cpee-1.3.183 test/callback.rb
cpee-1.3.181 test/callback.rb
cpee-1.3.180 test/callback.rb
cpee-1.3.179 test/callback.rb
cpee-1.3.178 test/callback.rb
cpee-1.3.177 test/cb.rb