Sha256: 9716c926d417420a14e39e3311b01c06d9f405ff3094bd227972250e4b9c6858

Contents?: true

Size: 449 Bytes

Versions: 23

Compression:

Stored size: 449 Bytes

Contents

# -*- encoding : utf-8 -*-

#Settings for sklik & eTarget
XMLRPC::Config.const_set(:ENABLE_NIL_PARSER, true)
XMLRPC::Config.const_set(:ENABLE_NIL_CREATE, true)

#Hack for enabling debug mode!
class XMLRPC::Client
  def set_debug out = $stderr
    @http.set_debug_output(out);
  end
end

#Hack for force encoding to UTF-8
module XMLRPCWorkAround
  def do_rpc(request, async=false)
    data = super
    data.force_encoding("UTF-8")
    data
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
sklik-api-0.1.6 lib/sklik-api/xmlrpc_setup.rb
sklik-api-0.1.5 lib/sklik-api/xmlrpc_setup.rb
sklik-api-0.1.4 lib/sklik-api/xmlrpc_setup.rb
sklik-api-0.1.3 lib/sklik-api/xmlrpc_setup.rb
sklik-api-0.1.2 lib/sklik-api/xmlrpc_setup.rb
sklik-api-0.1.1 lib/sklik-api/xmlrpc_setup.rb
sklik-api-0.1.0 lib/sklik-api/xmlrpc_setup.rb
sklik-api-0.0.16 lib/sklik-api/xmlrpc_setup.rb
sklik-api-0.0.15 lib/sklik-api/xmlrpc_setup.rb
sklik-api-0.0.14 lib/sklik-api/xmlrpc_setup.rb
sklik-api-0.0.13 lib/sklik-api/xmlrpc_setup.rb
sklik-api-0.0.12 lib/sklik-api/xmlrpc_setup.rb
sklik-api-0.0.11 lib/sklik-api/xmlrpc_setup.rb
sklik-api-0.0.10 lib/sklik-api/xmlrpc_setup.rb
sklik-api-0.0.9 lib/sklik-api/xmlrpc_setup.rb
sklik-api-0.0.8 lib/sklik-api/xmlrpc_setup.rb
sklik-api-0.0.7 lib/sklik-api/xmlrpc_setup.rb
sklik-api-0.0.6 lib/sklik-api/xmlrpc_setup.rb
sklik-api-0.0.5 lib/sklik-api/xmlrpc_setup.rb
sklik-api-0.0.4 lib/sklik-api/xmlrpc_setup.rb