dynaccount 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +36 -0
- data/Rakefile +28 -0
- data/lib/dynaccount.rb +104 -0
- data/lib/dynaccount/account.rb +11 -0
- data/lib/dynaccount/accounting.rb +11 -0
- data/lib/dynaccount/accounting_bank.rb +11 -0
- data/lib/dynaccount/action.rb +15 -0
- data/lib/dynaccount/bank.rb +11 -0
- data/lib/dynaccount/bank_recon.rb +11 -0
- data/lib/dynaccount/contact.rb +11 -0
- data/lib/dynaccount/contact_user.rb +11 -0
- data/lib/dynaccount/creditor.rb +11 -0
- data/lib/dynaccount/creditor_accounting_module.rb +11 -0
- data/lib/dynaccount/creditor_group.rb +11 -0
- data/lib/dynaccount/creditor_invoice.rb +11 -0
- data/lib/dynaccount/creditor_invoice_match.rb +11 -0
- data/lib/dynaccount/creditor_invoice_product.rb +11 -0
- data/lib/dynaccount/creditor_order.rb +11 -0
- data/lib/dynaccount/creditor_order_product.rb +11 -0
- data/lib/dynaccount/creditor_order_product_serialno.rb +11 -0
- data/lib/dynaccount/currency.rb +11 -0
- data/lib/dynaccount/data_voucher.rb +11 -0
- data/lib/dynaccount/debtor.rb +11 -0
- data/lib/dynaccount/debtor_accounting_module.rb +11 -0
- data/lib/dynaccount/debtor_creditnote.rb +11 -0
- data/lib/dynaccount/debtor_creditnote_product.rb +11 -0
- data/lib/dynaccount/debtor_creditnote_product_list.rb +11 -0
- data/lib/dynaccount/debtor_group.rb +11 -0
- data/lib/dynaccount/debtor_group_product_discount.rb +11 -0
- data/lib/dynaccount/debtor_group_product_group_discount.rb +11 -0
- data/lib/dynaccount/debtor_invoice.rb +11 -0
- data/lib/dynaccount/debtor_invoice_match.rb +11 -0
- data/lib/dynaccount/debtor_invoice_product.rb +11 -0
- data/lib/dynaccount/debtor_invoice_product_list.rb +11 -0
- data/lib/dynaccount/debtor_order.rb +11 -0
- data/lib/dynaccount/debtor_order_product.rb +11 -0
- data/lib/dynaccount/debtor_order_product_list.rb +11 -0
- data/lib/dynaccount/debtor_order_product_serialno.rb +11 -0
- data/lib/dynaccount/debtor_product_discount.rb +11 -0
- data/lib/dynaccount/debtor_product_group_discount.rb +11 -0
- data/lib/dynaccount/debtor_quote.rb +11 -0
- data/lib/dynaccount/debtor_quote_product.rb +11 -0
- data/lib/dynaccount/debtor_quote_product_list.rb +11 -0
- data/lib/dynaccount/debtor_reminder.rb +11 -0
- data/lib/dynaccount/debtor_subscription.rb +11 -0
- data/lib/dynaccount/debtor_subscription_group.rb +11 -0
- data/lib/dynaccount/debtor_subscription_group_product.rb +11 -0
- data/lib/dynaccount/debtor_subscription_group_product_list.rb +11 -0
- data/lib/dynaccount/debtor_subscription_product.rb +11 -0
- data/lib/dynaccount/debtor_subscription_product_list.rb +11 -0
- data/lib/dynaccount/dimension.rb +11 -0
- data/lib/dynaccount/draft.rb +11 -0
- data/lib/dynaccount/dynaccount_object.rb +53 -0
- data/lib/dynaccount/enclosure.rb +11 -0
- data/lib/dynaccount/followup.rb +11 -0
- data/lib/dynaccount/location.rb +11 -0
- data/lib/dynaccount/opportunity.rb +11 -0
- data/lib/dynaccount/payment.rb +11 -0
- data/lib/dynaccount/product.rb +11 -0
- data/lib/dynaccount/product_currency.rb +11 -0
- data/lib/dynaccount/product_group.rb +11 -0
- data/lib/dynaccount/product_list.rb +11 -0
- data/lib/dynaccount/product_list_product.rb +11 -0
- data/lib/dynaccount/product_supplier.rb +11 -0
- data/lib/dynaccount/stock_adjustment.rb +11 -0
- data/lib/dynaccount/unit.rb +11 -0
- data/lib/dynaccount/vatcode.rb +11 -0
- data/lib/dynaccount/version.rb +3 -0
- data/lib/dynaccount/year.rb +11 -0
- data/lib/dynaccount/year_period.rb +11 -0
- data/lib/tasks/dynaccount_tasks.rake +4 -0
- metadata +165 -0
@@ -0,0 +1,11 @@
|
|
1
|
+
module Dynaccount
|
2
|
+
class Product < DynaccountObject
|
3
|
+
def self.ignore_put
|
4
|
+
[:id, :block_id, :type, :product_group_id, :in_stock, :in_order, :in_supplier_order, :time_stock_change, :is_stocked, :profit_ratio, :price_cost]
|
5
|
+
end
|
6
|
+
|
7
|
+
def self.api_path
|
8
|
+
'product'
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
metadata
ADDED
@@ -0,0 +1,165 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: dynaccount
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.9.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Frederik Spang
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-01-23 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: json
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "<"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '1.8'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "<"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '1.8'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: faraday
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0.10'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0.10'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: net-http-persistent
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "<"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '3'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "<"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '3'
|
61
|
+
description: The dynaccount gem is an module-based integration for Dynaccount, with
|
62
|
+
the classic ActiveRecord structure, find, all etc.
|
63
|
+
email:
|
64
|
+
- frederik@frederikspang.dk
|
65
|
+
executables: []
|
66
|
+
extensions: []
|
67
|
+
extra_rdoc_files: []
|
68
|
+
files:
|
69
|
+
- MIT-LICENSE
|
70
|
+
- README.md
|
71
|
+
- Rakefile
|
72
|
+
- lib/dynaccount.rb
|
73
|
+
- lib/dynaccount/account.rb
|
74
|
+
- lib/dynaccount/accounting.rb
|
75
|
+
- lib/dynaccount/accounting_bank.rb
|
76
|
+
- lib/dynaccount/action.rb
|
77
|
+
- lib/dynaccount/bank.rb
|
78
|
+
- lib/dynaccount/bank_recon.rb
|
79
|
+
- lib/dynaccount/contact.rb
|
80
|
+
- lib/dynaccount/contact_user.rb
|
81
|
+
- lib/dynaccount/creditor.rb
|
82
|
+
- lib/dynaccount/creditor_accounting_module.rb
|
83
|
+
- lib/dynaccount/creditor_group.rb
|
84
|
+
- lib/dynaccount/creditor_invoice.rb
|
85
|
+
- lib/dynaccount/creditor_invoice_match.rb
|
86
|
+
- lib/dynaccount/creditor_invoice_product.rb
|
87
|
+
- lib/dynaccount/creditor_order.rb
|
88
|
+
- lib/dynaccount/creditor_order_product.rb
|
89
|
+
- lib/dynaccount/creditor_order_product_serialno.rb
|
90
|
+
- lib/dynaccount/currency.rb
|
91
|
+
- lib/dynaccount/data_voucher.rb
|
92
|
+
- lib/dynaccount/debtor.rb
|
93
|
+
- lib/dynaccount/debtor_accounting_module.rb
|
94
|
+
- lib/dynaccount/debtor_creditnote.rb
|
95
|
+
- lib/dynaccount/debtor_creditnote_product.rb
|
96
|
+
- lib/dynaccount/debtor_creditnote_product_list.rb
|
97
|
+
- lib/dynaccount/debtor_group.rb
|
98
|
+
- lib/dynaccount/debtor_group_product_discount.rb
|
99
|
+
- lib/dynaccount/debtor_group_product_group_discount.rb
|
100
|
+
- lib/dynaccount/debtor_invoice.rb
|
101
|
+
- lib/dynaccount/debtor_invoice_match.rb
|
102
|
+
- lib/dynaccount/debtor_invoice_product.rb
|
103
|
+
- lib/dynaccount/debtor_invoice_product_list.rb
|
104
|
+
- lib/dynaccount/debtor_order.rb
|
105
|
+
- lib/dynaccount/debtor_order_product.rb
|
106
|
+
- lib/dynaccount/debtor_order_product_list.rb
|
107
|
+
- lib/dynaccount/debtor_order_product_serialno.rb
|
108
|
+
- lib/dynaccount/debtor_product_discount.rb
|
109
|
+
- lib/dynaccount/debtor_product_group_discount.rb
|
110
|
+
- lib/dynaccount/debtor_quote.rb
|
111
|
+
- lib/dynaccount/debtor_quote_product.rb
|
112
|
+
- lib/dynaccount/debtor_quote_product_list.rb
|
113
|
+
- lib/dynaccount/debtor_reminder.rb
|
114
|
+
- lib/dynaccount/debtor_subscription.rb
|
115
|
+
- lib/dynaccount/debtor_subscription_group.rb
|
116
|
+
- lib/dynaccount/debtor_subscription_group_product.rb
|
117
|
+
- lib/dynaccount/debtor_subscription_group_product_list.rb
|
118
|
+
- lib/dynaccount/debtor_subscription_product.rb
|
119
|
+
- lib/dynaccount/debtor_subscription_product_list.rb
|
120
|
+
- lib/dynaccount/dimension.rb
|
121
|
+
- lib/dynaccount/draft.rb
|
122
|
+
- lib/dynaccount/dynaccount_object.rb
|
123
|
+
- lib/dynaccount/enclosure.rb
|
124
|
+
- lib/dynaccount/followup.rb
|
125
|
+
- lib/dynaccount/location.rb
|
126
|
+
- lib/dynaccount/opportunity.rb
|
127
|
+
- lib/dynaccount/payment.rb
|
128
|
+
- lib/dynaccount/product.rb
|
129
|
+
- lib/dynaccount/product_currency.rb
|
130
|
+
- lib/dynaccount/product_group.rb
|
131
|
+
- lib/dynaccount/product_list.rb
|
132
|
+
- lib/dynaccount/product_list_product.rb
|
133
|
+
- lib/dynaccount/product_supplier.rb
|
134
|
+
- lib/dynaccount/stock_adjustment.rb
|
135
|
+
- lib/dynaccount/unit.rb
|
136
|
+
- lib/dynaccount/vatcode.rb
|
137
|
+
- lib/dynaccount/version.rb
|
138
|
+
- lib/dynaccount/year.rb
|
139
|
+
- lib/dynaccount/year_period.rb
|
140
|
+
- lib/tasks/dynaccount_tasks.rake
|
141
|
+
homepage: https://dynaccount.com
|
142
|
+
licenses:
|
143
|
+
- MIT
|
144
|
+
metadata: {}
|
145
|
+
post_install_message:
|
146
|
+
rdoc_options: []
|
147
|
+
require_paths:
|
148
|
+
- lib
|
149
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ">="
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
154
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - ">="
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: '0'
|
159
|
+
requirements: []
|
160
|
+
rubyforge_project:
|
161
|
+
rubygems_version: 2.5.2
|
162
|
+
signing_key:
|
163
|
+
specification_version: 4
|
164
|
+
summary: The dynaccount gem is an module-based integration for Dynaccount
|
165
|
+
test_files: []
|