moysklad 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.travis.yml +1 -0
  4. data/README.md +14 -3
  5. data/lib/moysklad.rb +3 -2
  6. data/lib/moysklad/client.rb +37 -10
  7. data/lib/moysklad/client/errors.rb +60 -30
  8. data/lib/moysklad/entities.rb +17 -21
  9. data/lib/moysklad/entities/assortment.rb +6 -0
  10. data/lib/moysklad/entities/attachment_document.rb +16 -0
  11. data/lib/moysklad/entities/attribute.rb +114 -37
  12. data/lib/moysklad/entities/attribute_metadata.rb +9 -31
  13. data/lib/moysklad/entities/attribute_value.rb +19 -0
  14. data/lib/moysklad/entities/barcode.rb +10 -4
  15. data/lib/moysklad/entities/base.rb +23 -8
  16. data/lib/moysklad/entities/bundle.rb +39 -0
  17. data/lib/moysklad/entities/characteristic.rb +6 -0
  18. data/lib/moysklad/entities/characteristic_metadata.rb +6 -0
  19. data/lib/moysklad/entities/collection.rb +30 -7
  20. data/lib/moysklad/entities/collection_meta.rb +11 -0
  21. data/lib/moysklad/entities/common_object.rb +0 -2
  22. data/lib/moysklad/entities/company_settings_metadata.rb +28 -0
  23. data/lib/moysklad/entities/consignment.rb +19 -17
  24. data/lib/moysklad/entities/context.rb +9 -0
  25. data/lib/moysklad/entities/counterparty.rb +18 -0
  26. data/lib/moysklad/entities/currency.rb +29 -0
  27. data/lib/moysklad/entities/custom_entity.rb +20 -10
  28. data/lib/moysklad/entities/custom_entity_metadata.rb +7 -32
  29. data/lib/moysklad/entities/customer_order.rb +116 -23
  30. data/lib/moysklad/entities/customer_order_position.rb +10 -18
  31. data/lib/moysklad/entities/employee.rb +7 -0
  32. data/lib/moysklad/entities/entity.rb +42 -0
  33. data/lib/moysklad/entities/good_folder.rb +1 -0
  34. data/lib/moysklad/entities/group.rb +7 -0
  35. data/lib/moysklad/entities/image.rb +17 -0
  36. data/lib/moysklad/entities/images.rb +10 -0
  37. data/lib/moysklad/entities/meta.rb +14 -0
  38. data/lib/moysklad/entities/organization.rb +19 -0
  39. data/lib/moysklad/entities/owner.rb +4 -0
  40. data/lib/moysklad/entities/price.rb +5 -8
  41. data/lib/moysklad/entities/price_type.rb +2 -8
  42. data/lib/moysklad/entities/product.rb +54 -0
  43. data/lib/moysklad/entities/productfolder.rb +13 -0
  44. data/lib/moysklad/entities/rate.rb +9 -0
  45. data/lib/moysklad/entities/resource_metadata.rb +13 -0
  46. data/lib/moysklad/entities/service.rb +28 -0
  47. data/lib/moysklad/entities/shortcut.rb +11 -0
  48. data/lib/moysklad/entities/store.rb +10 -0
  49. data/lib/moysklad/entities/time.rb +13 -0
  50. data/lib/moysklad/entities/uom.rb +7 -0
  51. data/lib/moysklad/entities/variant.rb +51 -0
  52. data/lib/moysklad/entities/workflow.rb +11 -0
  53. data/lib/moysklad/entities/workflow_state.rb +8 -0
  54. data/lib/moysklad/error.rb +1 -0
  55. data/lib/moysklad/resources.rb +9 -7
  56. data/lib/moysklad/resources/assortments.rb +14 -0
  57. data/lib/moysklad/resources/base.rb +32 -44
  58. data/lib/moysklad/resources/custom_entities.rb +27 -0
  59. data/lib/moysklad/resources/custom_entity_metadata.rb +12 -8
  60. data/lib/moysklad/resources/embedded_entity_metadata.rb +0 -1
  61. data/lib/moysklad/resources/indexed.rb +23 -35
  62. data/lib/moysklad/resources/indexed_cache.rb +36 -0
  63. data/lib/moysklad/resources/load_all.rb +21 -0
  64. data/lib/moysklad/resources/products.rb +10 -0
  65. data/lib/moysklad/resources/where_filter.rb +0 -1
  66. data/lib/moysklad/universe.rb +16 -2
  67. data/lib/moysklad/version.rb +1 -1
  68. data/moysklad.gemspec +3 -1
  69. data/scripts/rest.sh +5 -2
  70. data/spec/fixtures/Good_WithManyAttributes.raw +13 -0
  71. data/spec/fixtures/Workflow_list.raw +15 -0
  72. data/spec/fixtures/good_with_image.xml +39 -0
  73. data/spec/lib/moysklad/entities/customer_order_spec.rb +7 -2
  74. data/spec/lib/moysklad/entities/good_spec.rb +9 -0
  75. data/spec/lib/moysklad/resources/workflows_spec.rb +21 -0
  76. data/spec/spec_helper.rb +2 -1
  77. data/test.rb +177 -0
  78. metadata +97 -44
  79. data/lib/moysklad/entities/common.rb +0 -15
  80. data/lib/moysklad/entities/feature.rb +0 -20
  81. data/lib/moysklad/entities/good.rb +0 -34
  82. data/lib/moysklad/entities/stock_to.rb +0 -33
  83. data/lib/moysklad/entities/warehouse.rb +0 -15
  84. data/lib/moysklad/entities/xml_fix.rb +0 -15
metadata CHANGED
@@ -1,211 +1,225 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moysklad
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danil Pismenny
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-12 00:00:00.000000000 Z
11
+ date: 2017-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: nokogiri-happymapper
28
+ name: virtus
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: activesupport
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: 3.0.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: 3.0.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '1.6'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.6'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rspec
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rspec-collection_matchers
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: pry
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: pry-nav
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - '>='
129
+ - - ">="
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - '>='
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: webmock
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - '>='
143
+ - - ">="
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - '>='
150
+ - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: guard
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - '>='
157
+ - - ">="
158
158
  - !ruby/object:Gem::Version
159
159
  version: '0'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - '>='
164
+ - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: guard-rspec
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - '>='
171
+ - - ">="
172
172
  - !ruby/object:Gem::Version
173
173
  version: '0'
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - '>='
178
+ - - ">="
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: guard-ctags-bundler
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
- - - '>='
185
+ - - ">="
186
186
  - !ruby/object:Gem::Version
187
187
  version: '0'
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - '>='
192
+ - - ">="
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0'
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: yard
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
- - - '>='
199
+ - - ">="
200
200
  - !ruby/object:Gem::Version
201
201
  version: '0'
202
202
  type: :development
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
- - - '>='
206
+ - - ">="
207
207
  - !ruby/object:Gem::Version
208
208
  version: '0'
209
+ - !ruby/object:Gem::Dependency
210
+ name: minitest
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - "~>"
214
+ - !ruby/object:Gem::Version
215
+ version: '5.1'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - "~>"
221
+ - !ruby/object:Gem::Version
222
+ version: '5.1'
209
223
  description: Правильный клиент для работы c REST XML API moyslad.ru, созданный по
210
224
  принципам SOLID
211
225
  email:
@@ -214,9 +228,9 @@ executables: []
214
228
  extensions: []
215
229
  extra_rdoc_files: []
216
230
  files:
217
- - .gitignore
218
- - .rspec
219
- - .travis.yml
231
+ - ".gitignore"
232
+ - ".rspec"
233
+ - ".travis.yml"
220
234
  - CHANGELOG.md
221
235
  - Gemfile
222
236
  - Guardfile
@@ -227,46 +241,77 @@ files:
227
241
  - lib/moysklad/client.rb
228
242
  - lib/moysklad/client/errors.rb
229
243
  - lib/moysklad/entities.rb
244
+ - lib/moysklad/entities/assortment.rb
245
+ - lib/moysklad/entities/attachment_document.rb
230
246
  - lib/moysklad/entities/attribute.rb
231
247
  - lib/moysklad/entities/attribute_metadata.rb
248
+ - lib/moysklad/entities/attribute_value.rb
232
249
  - lib/moysklad/entities/barcode.rb
233
250
  - lib/moysklad/entities/base.rb
251
+ - lib/moysklad/entities/bundle.rb
252
+ - lib/moysklad/entities/characteristic.rb
253
+ - lib/moysklad/entities/characteristic_metadata.rb
234
254
  - lib/moysklad/entities/collection.rb
235
- - lib/moysklad/entities/common.rb
255
+ - lib/moysklad/entities/collection_meta.rb
236
256
  - lib/moysklad/entities/common_object.rb
237
257
  - lib/moysklad/entities/company.rb
238
258
  - lib/moysklad/entities/company_concern.rb
259
+ - lib/moysklad/entities/company_settings_metadata.rb
239
260
  - lib/moysklad/entities/consignment.rb
240
261
  - lib/moysklad/entities/contact.rb
262
+ - lib/moysklad/entities/context.rb
241
263
  - lib/moysklad/entities/contract.rb
264
+ - lib/moysklad/entities/counterparty.rb
242
265
  - lib/moysklad/entities/country.rb
266
+ - lib/moysklad/entities/currency.rb
243
267
  - lib/moysklad/entities/custom_entity.rb
244
268
  - lib/moysklad/entities/custom_entity_metadata.rb
245
269
  - lib/moysklad/entities/customer_order.rb
246
270
  - lib/moysklad/entities/customer_order_position.rb
247
271
  - lib/moysklad/entities/embedded_entity_metadata.rb
272
+ - lib/moysklad/entities/employee.rb
273
+ - lib/moysklad/entities/entity.rb
248
274
  - lib/moysklad/entities/error.rb
249
- - lib/moysklad/entities/feature.rb
250
- - lib/moysklad/entities/good.rb
251
275
  - lib/moysklad/entities/good_folder.rb
252
276
  - lib/moysklad/entities/good_ref.rb
277
+ - lib/moysklad/entities/group.rb
278
+ - lib/moysklad/entities/image.rb
279
+ - lib/moysklad/entities/images.rb
280
+ - lib/moysklad/entities/meta.rb
253
281
  - lib/moysklad/entities/my_company.rb
282
+ - lib/moysklad/entities/organization.rb
283
+ - lib/moysklad/entities/owner.rb
254
284
  - lib/moysklad/entities/page.rb
255
285
  - lib/moysklad/entities/price.rb
256
286
  - lib/moysklad/entities/price_type.rb
287
+ - lib/moysklad/entities/product.rb
288
+ - lib/moysklad/entities/productfolder.rb
289
+ - lib/moysklad/entities/rate.rb
290
+ - lib/moysklad/entities/resource_metadata.rb
257
291
  - lib/moysklad/entities/sale_price.rb
258
292
  - lib/moysklad/entities/sale_prices.rb
293
+ - lib/moysklad/entities/service.rb
294
+ - lib/moysklad/entities/shortcut.rb
259
295
  - lib/moysklad/entities/slot.rb
260
- - lib/moysklad/entities/stock_to.rb
261
- - lib/moysklad/entities/warehouse.rb
262
- - lib/moysklad/entities/xml_fix.rb
296
+ - lib/moysklad/entities/store.rb
297
+ - lib/moysklad/entities/time.rb
298
+ - lib/moysklad/entities/uom.rb
299
+ - lib/moysklad/entities/variant.rb
300
+ - lib/moysklad/entities/workflow.rb
301
+ - lib/moysklad/entities/workflow_state.rb
302
+ - lib/moysklad/error.rb
263
303
  - lib/moysklad/errors.rb
264
304
  - lib/moysklad/resources.rb
305
+ - lib/moysklad/resources/assortments.rb
265
306
  - lib/moysklad/resources/base.rb
307
+ - lib/moysklad/resources/custom_entities.rb
266
308
  - lib/moysklad/resources/custom_entity_metadata.rb
267
309
  - lib/moysklad/resources/embedded_entity_metadata.rb
268
310
  - lib/moysklad/resources/embedded_entity_metadata_indexed.rb
269
311
  - lib/moysklad/resources/indexed.rb
312
+ - lib/moysklad/resources/indexed_cache.rb
313
+ - lib/moysklad/resources/load_all.rb
314
+ - lib/moysklad/resources/products.rb
270
315
  - lib/moysklad/resources/stock.rb
271
316
  - lib/moysklad/resources/subresource.rb
272
317
  - lib/moysklad/resources/where_filter.rb
@@ -290,6 +335,7 @@ files:
290
335
  - spec/fixtures/EmbeddedEntityMetadata_list.raw
291
336
  - spec/fixtures/Feature_list.raw
292
337
  - spec/fixtures/Feature_list_1000.raw
338
+ - spec/fixtures/Good_WithManyAttributes.raw
293
339
  - spec/fixtures/Good_e932ebe1-2e22-11e4-9406-002590a28eca.raw
294
340
  - spec/fixtures/Good_eb77ad57-2e22-11e4-4030-002590a28eca.raw
295
341
  - spec/fixtures/Goods_list.raw
@@ -299,6 +345,7 @@ files:
299
345
  - spec/fixtures/Stock_showConsignments.raw
300
346
  - spec/fixtures/Uom_list.raw
301
347
  - spec/fixtures/Warehouse_list.raw
348
+ - spec/fixtures/Workflow_list.raw
302
349
  - spec/fixtures/attribute_boolean.xml
303
350
  - spec/fixtures/attribute_dictionary.xml
304
351
  - spec/fixtures/attribute_double.xml
@@ -310,6 +357,7 @@ files:
310
357
  - spec/fixtures/bad_chars.xml
311
358
  - spec/fixtures/customer_order.xml
312
359
  - spec/fixtures/good_with_attributes.raw
360
+ - spec/fixtures/good_with_image.xml
313
361
  - spec/fixtures/resource_forbidden.raw
314
362
  - spec/fixtures/wrong_password.raw
315
363
  - spec/fixtures/wrong_type.raw
@@ -333,11 +381,13 @@ files:
333
381
  - spec/lib/moysklad/resources/stock_spec.rb
334
382
  - spec/lib/moysklad/resources/subresource_spec.rb
335
383
  - spec/lib/moysklad/resources/warehouses_spec.rb
384
+ - spec/lib/moysklad/resources/workflows_spec.rb
336
385
  - spec/lib/moysklad/resources_spec.rb
337
386
  - spec/lib/moysklad/universe_spec.rb
338
387
  - spec/lib/moysklad_spec.rb
339
388
  - spec/spec_helper.rb
340
389
  - spec/support/resource.rb
390
+ - test.rb
341
391
  homepage: https://github.com/brandymint/moysklad
342
392
  licenses:
343
393
  - MIT
@@ -348,17 +398,17 @@ require_paths:
348
398
  - lib
349
399
  required_ruby_version: !ruby/object:Gem::Requirement
350
400
  requirements:
351
- - - '>='
401
+ - - ">="
352
402
  - !ruby/object:Gem::Version
353
403
  version: 2.0.0
354
404
  required_rubygems_version: !ruby/object:Gem::Requirement
355
405
  requirements:
356
- - - '>='
406
+ - - ">="
357
407
  - !ruby/object:Gem::Version
358
408
  version: '0'
359
409
  requirements: []
360
410
  rubyforge_project:
361
- rubygems_version: 2.1.10
411
+ rubygems_version: 2.5.2
362
412
  signing_key:
363
413
  specification_version: 4
364
414
  summary: Клиент для работы с API moysklad.ru
@@ -379,6 +429,7 @@ test_files:
379
429
  - spec/fixtures/EmbeddedEntityMetadata_list.raw
380
430
  - spec/fixtures/Feature_list.raw
381
431
  - spec/fixtures/Feature_list_1000.raw
432
+ - spec/fixtures/Good_WithManyAttributes.raw
382
433
  - spec/fixtures/Good_e932ebe1-2e22-11e4-9406-002590a28eca.raw
383
434
  - spec/fixtures/Good_eb77ad57-2e22-11e4-4030-002590a28eca.raw
384
435
  - spec/fixtures/Goods_list.raw
@@ -388,6 +439,7 @@ test_files:
388
439
  - spec/fixtures/Stock_showConsignments.raw
389
440
  - spec/fixtures/Uom_list.raw
390
441
  - spec/fixtures/Warehouse_list.raw
442
+ - spec/fixtures/Workflow_list.raw
391
443
  - spec/fixtures/attribute_boolean.xml
392
444
  - spec/fixtures/attribute_dictionary.xml
393
445
  - spec/fixtures/attribute_double.xml
@@ -399,6 +451,7 @@ test_files:
399
451
  - spec/fixtures/bad_chars.xml
400
452
  - spec/fixtures/customer_order.xml
401
453
  - spec/fixtures/good_with_attributes.raw
454
+ - spec/fixtures/good_with_image.xml
402
455
  - spec/fixtures/resource_forbidden.raw
403
456
  - spec/fixtures/wrong_password.raw
404
457
  - spec/fixtures/wrong_type.raw
@@ -422,9 +475,9 @@ test_files:
422
475
  - spec/lib/moysklad/resources/stock_spec.rb
423
476
  - spec/lib/moysklad/resources/subresource_spec.rb
424
477
  - spec/lib/moysklad/resources/warehouses_spec.rb
478
+ - spec/lib/moysklad/resources/workflows_spec.rb
425
479
  - spec/lib/moysklad/resources_spec.rb
426
480
  - spec/lib/moysklad/universe_spec.rb
427
481
  - spec/lib/moysklad_spec.rb
428
482
  - spec/spec_helper.rb
429
483
  - spec/support/resource.rb
430
- has_rdoc:
@@ -1,15 +0,0 @@
1
- module Moysklad::Entities::Common
2
- extend ::ActiveSupport::Concern
3
-
4
- included do
5
- include HappyMapper
6
-
7
- attribute :readMode, String
8
- attribute :changeMode, String
9
-
10
- element :accountUuid, String
11
- element :accountId, String
12
- element :uuid, String
13
- end
14
-
15
- end