Sha256: 441e1a748a6d1e90766c46536ccb2cd84ed5f5515bd8475844fd86c468a60fee
Contents?: true
Size: 697 Bytes
Versions: 3
Compression:
Stored size: 697 Bytes
Contents
module WashOut class Engine < ::Rails::Engine class << self attr_accessor :namespace attr_accessor :snakecase, :snakecase_input, :camelize_wsdl end self.namespace = 'urn:WashOut' self.snakecase = nil self.snakecase_input = false self.camelize_wsdl = false 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
wash_out-0.4.2 | lib/wash_out/engine.rb |
wash_out-0.4.1 | lib/wash_out/engine.rb |
wash_out-0.4.0 | lib/wash_out/engine.rb |