Class: Savon::Config
- Inherits:
-
Struct
- Object
- Struct
- Savon::Config
- Defined in:
- lib/savon/config.rb
Instance Attribute Summary collapse
-
#env_namespace ⇒ Object
Returns the value of attribute env_namespace.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#pretty_print_xml ⇒ Object
Returns the value of attribute pretty_print_xml.
-
#raise_errors ⇒ Object
Returns the value of attribute raise_errors.
-
#soap_header ⇒ Object
Returns the value of attribute soap_header.
-
#soap_version ⇒ Object
Returns the value of attribute soap_version.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#env_namespace ⇒ Object
Returns the value of attribute env_namespace
6 7 8 |
# File 'lib/savon/config.rb', line 6 def env_namespace @env_namespace end |
#logger ⇒ Object
Returns the value of attribute logger
6 7 8 |
# File 'lib/savon/config.rb', line 6 def logger @logger end |
#pretty_print_xml ⇒ Object
Returns the value of attribute pretty_print_xml
6 7 8 |
# File 'lib/savon/config.rb', line 6 def pretty_print_xml @pretty_print_xml end |
#raise_errors ⇒ Object
Returns the value of attribute raise_errors
6 7 8 |
# File 'lib/savon/config.rb', line 6 def raise_errors @raise_errors end |
#soap_header ⇒ Object
Returns the value of attribute soap_header
6 7 8 |
# File 'lib/savon/config.rb', line 6 def soap_header @soap_header end |
#soap_version ⇒ Object
Returns the value of attribute soap_version
6 7 8 |
# File 'lib/savon/config.rb', line 6 def soap_version @soap_version end |
Class Method Details
.default ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/savon/config.rb', line 8 def self.default config = new config.logger = Logger.new config.raise_errors = true config.soap_version = SOAP::DefaultVersion config end |