zoho_invoice 0.3.5.1 → 0.3.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/zoho_invoice/base.rb +1 -1
- data/lib/zoho_invoice/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03281cc58d6641b7120ab77fb7bd9a4b2d401f25
|
4
|
+
data.tar.gz: 8483ab2d757662cd922ef9639f1cc46bf44f2678
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ca96346346ec493b0d185decc483c8eae5ebf749351883cbe5d34fe463aa285df6a4603569b97f5912f0a5c0eb0e16229c54b13e78b4d04721492f07c021280
|
7
|
+
data.tar.gz: 8d50d8f92ccd56f1efacbad0d5ea246c02beac9ad1fe7c52f7773507b51ac73aad962a288417dce042bf0471064669a27eb391433408cf230ab19f8f8f9922b5
|
data/lib/zoho_invoice/base.rb
CHANGED
@@ -85,7 +85,7 @@ module ZohoInvoice
|
|
85
85
|
result = client.post("/api/#{klass_name.downcase + 's'}/#{action}", :XMLString => self.to_xml)
|
86
86
|
|
87
87
|
if action == 'create' && !result.body.nil? && !result.body['Response'][klass_name].nil?
|
88
|
-
self.send("#{
|
88
|
+
self.send("#{klass_name.downcase}_id=", result.body['Response'][klass_name]["#{klass_name}ID"])
|
89
89
|
end
|
90
90
|
|
91
91
|
self
|
data/lib/zoho_invoice/version.rb
CHANGED