Sha256: ccf6d711bef24c517873dbd4f8c455aac4deed953c415716565f85c9acbab9f1

Contents?: true

Size: 894 Bytes

Versions: 1

Compression:

Stored size: 894 Bytes

Contents

dir = File.dirname(__FILE__)
$LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir)
# The module that contains everything Yieldmanager-related:
#
# * Yieldmanager::Client is the class used to interact with Yieldmanager.
# * Yieldmanager::Report is the data object returned by ReportWare calls.
# * Yieldmanager::Builder creates local copies of the YM service wsdls.
#
module Yieldmanager
end

require 'patch_detector'
include PatchDetector

if (RUBY_VERSION.start_with?("1.9"))
  #
  # This patch based on Tomer Doron's "Fixing soap4r for ruby 1.9" post
  # http://tomerdoron.blogspot.com/2009/10/fixing-soap4r-for-ruby-19.html
  #
  $LOAD_PATH.unshift 'lib/soap4r_19_patch'
end

require 'yieldmanager/client'

if needs_patching?(:ruby_version => RUBY_VERSION, :minimum_ruby_version_for_patch => "1.8.7")
  require 'wsdl/patch'
end

require 'yieldmanager/builder'
require 'yieldmanager/report'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yieldmanager-0.8.3 lib/yieldmanager.rb