batch_save should return false on server-side errors.
Fixed NoMethodError if  is nil.
Merge pull request #94 from fimmtiu/batch-save-validation-errors

batch_save should return false on server-side errors.
Don't use the parent to choose XML node names.
Fixed model definition test.
Merge pull request #96 from fimmtiu/fix-child-xml-nodes

Don't use the parent to choose XML node names.
Fixed test broken by PR 96.
Merge pull request #97 from fimmtiu/fix-line-item-sum-test

Fixed test broken by PR 96.
Allow allocating credit notes.
Merge pull request #98 from fimmtiu/allocate-credit-notes

Allow allocating credit notes.
Don't try to batch_save calculated attributes.

This results, unsurprisingly, in a lot of 'SettingTotalDirectlyNotSupported' errors.
Merge pull request #100 from fimmtiu/fix-batch-save-attributes

Don't try to batch_save calculated attributes.
Added ShortCode to Organisation model
Merge pull request #104 from mjalvarez/master

Added ShortCode to Organisation model
Update invoice.rb

Added Currency Rate to Invoice
Update invoice.rb

Currency rate set to decimal, not string!
Add Attachment Handling
adding discount rate to line item record
Merge pull request #112 from tradegecko/master

Adding Discount Rate to Line Item Record
adding a :logger option in the xero application initialization