Sha256: 8f25055796bc01bbe0bc21e535b6df66e98359e478886dd230693fb536d225fb

Contents?: true

Size: 462 Bytes

Versions: 1

Compression:

Stored size: 462 Bytes

Contents

require 'crack/xml'
require 'wash_out/param'
require 'wash_out/dispatcher'
require 'wash_out/wash_with_soap'

ActionController::Base.class_eval do
  include WashOut::WashWithSoap
end

ActionController::Base.helper(WashOutHelper)

module ActionDispatch::Routing
  class Mapper
    def wash_with_soap(controller)
      match "#{controller.to_s}/wsdl" => "#{controller.to_s}#wsdl"
      match "#{controller.to_s}/soap" => "#{controller.to_s}#soap"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wash_out-0.1 init.rb