zoho_inventory 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +2 -0
- data/lib/zoho_inventory.rb +1 -1
- data/lib/zoho_inventory/invoice.rb +7 -0
- data/lib/zoho_inventory/util.rb +4 -2
- data/lib/zoho_inventory/version.rb +1 -1
- data/lib/zoho_inventory/zoho_object.rb +0 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ee344df612dcf47b53a73f783eaf44247205592
|
4
|
+
data.tar.gz: 0347a47179f25b03712f98c5ebfc572db0426681
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96a60460a188f4a16187c85ee54f03f0f21b834cbadfe22074df360e1089fd26f0f1e8251d70da8a88b2188ea9941fbb942d82a6cb9276b5d42258076a97f603
|
7
|
+
data.tar.gz: 2a2b8c0a6e03de0ff5ff0e3fa0e9cef85252d16283f57865a9b731020f9dcbcf965bbe8596773fe6554e9ad3ee99bc8009b38543598ad6316c75e3b05d655385
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
[![Build Status](https://travis-ci.org/Virolea/zoho_inventory.svg?branch=master)](https://travis-ci.org/Virolea/zoho_inventory)
|
2
|
+
|
1
3
|
⚠️ This is a work in progress, only CRUD operations are available for Zoho models for now, and models will be added gradually.
|
2
4
|
|
3
5
|
# ZohoInventory
|
data/lib/zoho_inventory.rb
CHANGED
@@ -15,11 +15,11 @@ require "zoho_inventory/zoho_object"
|
|
15
15
|
|
16
16
|
# Models
|
17
17
|
require "zoho_inventory/contact"
|
18
|
+
require "zoho_inventory/invoice"
|
18
19
|
require "zoho_inventory/item"
|
19
20
|
require "zoho_inventory/organization"
|
20
21
|
require "zoho_inventory/user"
|
21
22
|
|
22
|
-
|
23
23
|
## Support
|
24
24
|
require 'zoho_inventory/util'
|
25
25
|
|
data/lib/zoho_inventory/util.rb
CHANGED
@@ -5,7 +5,8 @@ module ZohoInventory
|
|
5
5
|
Item::OBJECT_NAME => Item,
|
6
6
|
Contact::OBJECT_NAME => Contact,
|
7
7
|
Organization::OBJECT_NAME => Organization,
|
8
|
-
User::OBJECT_NAME => User
|
8
|
+
User::OBJECT_NAME => User,
|
9
|
+
Invoice::OBJECT_NAME => Invoice
|
9
10
|
}
|
10
11
|
end
|
11
12
|
|
@@ -14,7 +15,8 @@ module ZohoInventory
|
|
14
15
|
Item::OBJECT_NAME => 'item',
|
15
16
|
Contact::OBJECT_NAME => 'contact',
|
16
17
|
Organization::OBJECT_NAME => 'organization',
|
17
|
-
User::OBJECT_NAME => 'user'
|
18
|
+
User::OBJECT_NAME => 'user',
|
19
|
+
Invoice::OBJECT_NAME => 'invoice'
|
18
20
|
}
|
19
21
|
end
|
20
22
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zoho_inventory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vincent Rolea
|
@@ -101,6 +101,7 @@ files:
|
|
101
101
|
- lib/zoho_inventory.rb
|
102
102
|
- lib/zoho_inventory/client.rb
|
103
103
|
- lib/zoho_inventory/contact.rb
|
104
|
+
- lib/zoho_inventory/invoice.rb
|
104
105
|
- lib/zoho_inventory/item.rb
|
105
106
|
- lib/zoho_inventory/organization.rb
|
106
107
|
- lib/zoho_inventory/request.rb
|