Sha256: 8ec8dd747142d96367d6f82d7637b84260d99d9d043de265c00f6ac3233287df

Contents?: true

Size: 775 Bytes

Versions: 1

Compression:

Stored size: 775 Bytes

Contents

# encoding: utf-8
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'rspec'
require 'soap-object'

class TestWorld
  include SoapObject::Factory
end

class TestSoapObjectWithProperties
  include SoapObject

  wsdl 'http://blah.com'
  endpoint 'https://blah.com'
  proxy 'http://proxy.com:8080'
  open_timeout 10
  read_timeout 20
  soap_header 'Token' => 'secret'
  encoding 'UTF-16'
  basic_auth 'steve', 'secret'
  digest_auth 'digest', 'auth'
  log_level :error
  soap_version 2
end

class WithoutClientProperties
  include SoapObject
end

class TestSoapObject
  include SoapObject

  wsdl 'http://blah.com'
end

class WithSslOptions
  include SoapObject

  ssl_options do |opts|
    opts.verify_mode = :peer
    opts.version = :SSLv2
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
soap-object-0.6.8 spec/spec_helper.rb