exact 0.1.4 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/exact/mappings/layout_mapping.rb +4 -0
- data/lib/exact/models/layout.rb +20 -0
- data/lib/exact/version.rb +1 -1
- data/lib/exact.rb +2 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a07a5a33c4a85ab3e667968a87476ce038a9cd7
|
4
|
+
data.tar.gz: 45bf7bf8469f07bba89be2204fddd27aa87352ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6812955ef3e211e7afb63dcbac3fb128fbcfe59fd95c8b27c259795ff27cd4361ac7df1ff59de1edf5ad4043567e1570e77bbada91cfcbad97ff2b7624351bc
|
7
|
+
data.tar.gz: 13a8945916b039891c7b1d67efb2df34fdf214e3111688962408cd70db131c68df4427893a7003f41ea90a9ca13909b04163d5444c1cdbdb42e5c8924312cb48
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Exact
|
2
|
+
class Layout < Base
|
3
|
+
include ActiveModel::Model
|
4
|
+
include Virtus.model
|
5
|
+
|
6
|
+
EXACT_SERVICE = 'salesinvoice'
|
7
|
+
EXACT_GUID = 'InvoiceID'
|
8
|
+
|
9
|
+
attribute :ID, String
|
10
|
+
attribute :Created, DateTime
|
11
|
+
attribute :Creator, String
|
12
|
+
attribute :CreatorFullName, String
|
13
|
+
attribute :Division, String
|
14
|
+
attribute :Modified, DateTime
|
15
|
+
attribute :Modifier, String
|
16
|
+
attribute :ModifierFullName, String
|
17
|
+
attribute :Subject, String
|
18
|
+
attribute :Type, Integer
|
19
|
+
end
|
20
|
+
end
|
data/lib/exact/version.rb
CHANGED
data/lib/exact.rb
CHANGED
@@ -13,6 +13,7 @@ module Exact
|
|
13
13
|
autoload :CostUnit, 'exact/models/cost_unit'
|
14
14
|
autoload :GLAccount, 'exact/models/g_l_account'
|
15
15
|
autoload :Item, 'exact/models/item'
|
16
|
+
autoload :Layout, 'exact/models/layout'
|
16
17
|
autoload :Project, 'exact/models/project'
|
17
18
|
autoload :SalesInvoice, 'exact/models/sales_invoice'
|
18
19
|
autoload :SalesInvoiceLine, 'exact/models/sales_invoice_line'
|
@@ -26,6 +27,7 @@ module Exact
|
|
26
27
|
autoload :CostUnitMapping, 'exact/mappings/cost_unit_mapping'
|
27
28
|
autoload :GLAccountMapping, 'exact/mappings/g_l_account_mapping'
|
28
29
|
autoload :ItemMapping, 'exact/mappings/item_mapping'
|
30
|
+
autoload :LayoutMapping, 'exact/mappings/layout_mapping'
|
29
31
|
autoload :ProjectMapping, 'exact/mappings/project_mapping'
|
30
32
|
autoload :SalesInvoiceMapping, 'exact/mappings/sales_invoice_mapping'
|
31
33
|
autoload :SalesInvoiceLineMapping, 'exact/mappings/sales_invoice_line_mapping'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: exact
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zzk
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: virtus
|
@@ -179,6 +179,7 @@ files:
|
|
179
179
|
- lib/exact/mappings/cost_unit_mapping.rb
|
180
180
|
- lib/exact/mappings/g_l_account_mapping.rb
|
181
181
|
- lib/exact/mappings/item_mapping.rb
|
182
|
+
- lib/exact/mappings/layout_mapping.rb
|
182
183
|
- lib/exact/mappings/project_mapping.rb
|
183
184
|
- lib/exact/mappings/sales_invoice_line_mapping.rb
|
184
185
|
- lib/exact/mappings/sales_invoice_mapping.rb
|
@@ -190,6 +191,7 @@ files:
|
|
190
191
|
- lib/exact/models/cost_unit.rb
|
191
192
|
- lib/exact/models/g_l_account.rb
|
192
193
|
- lib/exact/models/item.rb
|
194
|
+
- lib/exact/models/layout.rb
|
193
195
|
- lib/exact/models/project.rb
|
194
196
|
- lib/exact/models/sales_invoice.rb
|
195
197
|
- lib/exact/models/sales_invoice_line.rb
|