Sha256: 7f653cbd299362efaa6a26d16051874fdaab7bb9350a4269ed89baeacc8395bb

Contents?: true

Size: 488 Bytes

Versions: 2

Compression:

Stored size: 488 Bytes

Contents

#!/usr/bin/ruby
require 'rubygems'
require 'cpee/instantiation'

options = {
  :host => 'localhost',
  :port => 9296,
  :secure => false
  # :secure_options => {
  #   :private_key_file => '',
  #   :cert_chain_file => '',
  #   :verify_peer => false
  # }
}

Riddl::Server.new(CPEE::Instantiation::SERVER, options) do
  accessible_description true
  cross_site_xhr true

  @riddl_opts[:cpee] ||= 'http://localhost:9298/'

  use CPEE::Instantiation::implementation(@riddl_opts)
end.loop!

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cpee-1.3.228 tools/instantiation/instantiation
cpee-1.3.227 tools/instantiation/instantiation