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.209 test/callback.rb
cpee-1.3.208 test/callback.rb
cpee-1.3.207 test/callback.rb
cpee-1.3.206 test/callback.rb
cpee-1.3.205 test/callback.rb
cpee-1.3.204 test/callback.rb
cpee-1.3.203 test/callback.rb
cpee-1.3.202 test/callback.rb
cpee-1.3.201 test/callback.rb
cpee-1.3.200 test/callback.rb
cpee-1.3.199 test/callback.rb
cpee-1.3.198 test/callback.rb
cpee-1.3.197 test/callback.rb
cpee-1.3.196 test/callback.rb
cpee-1.3.195 test/callback.rb
cpee-1.3.194 test/callback.rb
cpee-1.3.193 test/callback.rb
cpee-1.3.192 test/callback.rb
cpee-1.3.191 test/callback.rb
cpee-1.3.190 test/callback.rb