README.md in active_zuora-2.1.1 vs README.md in active_zuora-2.1.2
- old
+ new
@@ -12,22 +12,28 @@
## Thread Safety
2.0.X versions of Active Zuora are not thread safe. They depend on a version of [Savon](https://github.com/savonrb/savon) that is [does not work with threads](https://github.com/savonrb/savon/issues/259).
## Configuration
+```ruby
ActiveZuora.configure(
:username => 'user@example.com',
:password => 'password'
)
+```
-Enable SOAP logging to stderr or provide your own wsdl file.
+Enable SOAP logging to stderr, provide your own wsdl file or add custom
+fields to a list of filtered fields.
+```ruby
ActiveZuora.configure(
:username => 'user@example.com',
:password => 'password',
:log => true,
+ :log_filters => [:password, :SessionHeader, :mySecretCustomField1, :mySecretCustomField1], # Defaults to [:password, :SessionHeader]
:wsdl => 'path/to/zuora.wsdl'
)
+```
## Defining Classes
You can auto-generate all your Zuora classes from the wsdl file. It will generate all Z-Objects, like Account and Subscription, and Zuora Complex objects, such as SubscribeRequest.