Sha256: f17c54c77b4a4b89baf6bb70d35374cb34d1bf684adda930bd8066c29ed4d647
Contents?: true
Size: 808 Bytes
Versions: 4
Compression:
Stored size: 808 Bytes
Contents
module WashOut class Engine < ::Rails::Engine class << self attr_accessor :namespace attr_accessor :snakecase, :snakecase_input, :camelize_wsdl attr_accessor :wsse_username, :wsse_password end self.namespace = 'urn:WashOut' self.snakecase = nil self.snakecase_input = false self.camelize_wsdl = false self.wsse_username = nil self.wsse_password = nil config.wash_out = ActiveSupport::OrderedOptions.new initializer "wash_out.configuration" do |app| app.config.wash_out.each do |key, value| self.class.send "#{key}=", value end unless self.class.snakecase.nil? raise "Usage of wash_out.snakecase is deprecated. You should use wash_out.snakecase_input and wash_out.camelize_wsdl" end end end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
wash_out-0.5.4 | lib/wash_out/engine.rb |
wash_out-0.5.3 | lib/wash_out/engine.rb |
nogara-wash_out-0.5.2 | lib/wash_out/engine.rb |
wash_out-0.5.2 | lib/wash_out/engine.rb |