plenty_client 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +23 -0
  3. data/.rspec +2 -0
  4. data/.rubocop.yml +43 -0
  5. data/.travis.yml +5 -0
  6. data/CODE_OF_CONDUCT.md +74 -0
  7. data/Gemfile +4 -0
  8. data/LICENSE.txt +21 -0
  9. data/README.md +154 -0
  10. data/Rakefile +6 -0
  11. data/lib/plenty_client/config.rb +15 -0
  12. data/lib/plenty_client/constants.rb +362 -0
  13. data/lib/plenty_client/endpoint.rb +73 -0
  14. data/lib/plenty_client/item/attribute/name.rb +52 -0
  15. data/lib/plenty_client/item/attribute/value.rb +52 -0
  16. data/lib/plenty_client/item/attribute/value_name.rb +52 -0
  17. data/lib/plenty_client/item/attribute.rb +36 -0
  18. data/lib/plenty_client/item/barcode.rb +56 -0
  19. data/lib/plenty_client/item/cross_selling.rb +26 -0
  20. data/lib/plenty_client/item/image/availability.rb +37 -0
  21. data/lib/plenty_client/item/image/name.rb +57 -0
  22. data/lib/plenty_client/item/image.rb +53 -0
  23. data/lib/plenty_client/item/manufacturer/commission.rb +52 -0
  24. data/lib/plenty_client/item/manufacturer.rb +36 -0
  25. data/lib/plenty_client/item/property/market_reference.rb +52 -0
  26. data/lib/plenty_client/item/property/name.rb +52 -0
  27. data/lib/plenty_client/item/property.rb +36 -0
  28. data/lib/plenty_client/item/property_group.rb +36 -0
  29. data/lib/plenty_client/item/property_group_name.rb +44 -0
  30. data/lib/plenty_client/item/sales_price.rb +37 -0
  31. data/lib/plenty_client/item/shipping_profile.rb +26 -0
  32. data/lib/plenty_client/item/unit.rb +35 -0
  33. data/lib/plenty_client/item/unit_name.rb +38 -0
  34. data/lib/plenty_client/item/variation/barcode.rb +53 -0
  35. data/lib/plenty_client/item/variation/bundle.rb +52 -0
  36. data/lib/plenty_client/item/variation/category.rb +52 -0
  37. data/lib/plenty_client/item/variation/client.rb +37 -0
  38. data/lib/plenty_client/item/variation/default_category.rb +45 -0
  39. data/lib/plenty_client/item/variation/description.rb +53 -0
  40. data/lib/plenty_client/item/variation/image.rb +49 -0
  41. data/lib/plenty_client/item/variation/market.rb +37 -0
  42. data/lib/plenty_client/item/variation/market_ident_number.rb +53 -0
  43. data/lib/plenty_client/item/variation/sales_price.rb +53 -0
  44. data/lib/plenty_client/item/variation/sku.rb +52 -0
  45. data/lib/plenty_client/item/variation/stock.rb +57 -0
  46. data/lib/plenty_client/item/variation/supplier.rb +52 -0
  47. data/lib/plenty_client/item/variation/warehouse.rb +52 -0
  48. data/lib/plenty_client/item/variation.rb +35 -0
  49. data/lib/plenty_client/item/variation_property.rb +36 -0
  50. data/lib/plenty_client/item/variation_property_value.rb +48 -0
  51. data/lib/plenty_client/item.rb +24 -0
  52. data/lib/plenty_client/item_set/component.rb +54 -0
  53. data/lib/plenty_client/item_set/config.rb +20 -0
  54. data/lib/plenty_client/item_set.rb +44 -0
  55. data/lib/plenty_client/order/contact_wish.rb +17 -0
  56. data/lib/plenty_client/order/coupon_code/contact.rb +20 -0
  57. data/lib/plenty_client/order/coupon_code/validation.rb +20 -0
  58. data/lib/plenty_client/order/coupon_code.rb +19 -0
  59. data/lib/plenty_client/order/currency.rb +32 -0
  60. data/lib/plenty_client/order/date.rb +32 -0
  61. data/lib/plenty_client/order/item/date.rb +20 -0
  62. data/lib/plenty_client/order/item/property.rb +20 -0
  63. data/lib/plenty_client/order/item/serial_number.rb +25 -0
  64. data/lib/plenty_client/order/item.rb +18 -0
  65. data/lib/plenty_client/order/property.rb +21 -0
  66. data/lib/plenty_client/order/referrer.rb +22 -0
  67. data/lib/plenty_client/order/shipping/country.rb +18 -0
  68. data/lib/plenty_client/order/shipping/information.rb +45 -0
  69. data/lib/plenty_client/order/shipping/package.rb +54 -0
  70. data/lib/plenty_client/order/shipping/profile.rb +23 -0
  71. data/lib/plenty_client/order/shipping/service_provider.rb +27 -0
  72. data/lib/plenty_client/order/shipping.rb +12 -0
  73. data/lib/plenty_client/order.rb +43 -0
  74. data/lib/plenty_client/request.rb +128 -0
  75. data/lib/plenty_client/sales_price/account.rb +30 -0
  76. data/lib/plenty_client/sales_price/country.rb +26 -0
  77. data/lib/plenty_client/sales_price/currency.rb +26 -0
  78. data/lib/plenty_client/sales_price/customer_class.rb +31 -0
  79. data/lib/plenty_client/sales_price/name.rb +36 -0
  80. data/lib/plenty_client/sales_price/online_store.rb +29 -0
  81. data/lib/plenty_client/sales_price/referrer.rb +25 -0
  82. data/lib/plenty_client/version.rb +3 -0
  83. data/lib/plenty_client.rb +108 -0
  84. data/plenty_client.gemspec +29 -0
  85. metadata +204 -0
metadata ADDED
@@ -0,0 +1,204 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: plenty_client
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Dariusch Ochlast
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-03-06 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.13'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.13'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: json
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.8'
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: 1.8.0
65
+ type: :runtime
66
+ prerelease: false
67
+ version_requirements: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - "~>"
70
+ - !ruby/object:Gem::Version
71
+ version: '1.8'
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: 1.8.0
75
+ - !ruby/object:Gem::Dependency
76
+ name: curb
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: 0.9.3
82
+ type: :runtime
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: 0.9.3
89
+ description: This Client is a wrapper arount the PlentyMarkets REST API providing
90
+ simple classes to interact.
91
+ email:
92
+ - dariusch.ochlast@gmail.com
93
+ executables: []
94
+ extensions: []
95
+ extra_rdoc_files: []
96
+ files:
97
+ - ".gitignore"
98
+ - ".rspec"
99
+ - ".rubocop.yml"
100
+ - ".travis.yml"
101
+ - CODE_OF_CONDUCT.md
102
+ - Gemfile
103
+ - LICENSE.txt
104
+ - README.md
105
+ - Rakefile
106
+ - lib/plenty_client.rb
107
+ - lib/plenty_client/config.rb
108
+ - lib/plenty_client/constants.rb
109
+ - lib/plenty_client/endpoint.rb
110
+ - lib/plenty_client/item.rb
111
+ - lib/plenty_client/item/attribute.rb
112
+ - lib/plenty_client/item/attribute/name.rb
113
+ - lib/plenty_client/item/attribute/value.rb
114
+ - lib/plenty_client/item/attribute/value_name.rb
115
+ - lib/plenty_client/item/barcode.rb
116
+ - lib/plenty_client/item/cross_selling.rb
117
+ - lib/plenty_client/item/image.rb
118
+ - lib/plenty_client/item/image/availability.rb
119
+ - lib/plenty_client/item/image/name.rb
120
+ - lib/plenty_client/item/manufacturer.rb
121
+ - lib/plenty_client/item/manufacturer/commission.rb
122
+ - lib/plenty_client/item/property.rb
123
+ - lib/plenty_client/item/property/market_reference.rb
124
+ - lib/plenty_client/item/property/name.rb
125
+ - lib/plenty_client/item/property_group.rb
126
+ - lib/plenty_client/item/property_group_name.rb
127
+ - lib/plenty_client/item/sales_price.rb
128
+ - lib/plenty_client/item/shipping_profile.rb
129
+ - lib/plenty_client/item/unit.rb
130
+ - lib/plenty_client/item/unit_name.rb
131
+ - lib/plenty_client/item/variation.rb
132
+ - lib/plenty_client/item/variation/barcode.rb
133
+ - lib/plenty_client/item/variation/bundle.rb
134
+ - lib/plenty_client/item/variation/category.rb
135
+ - lib/plenty_client/item/variation/client.rb
136
+ - lib/plenty_client/item/variation/default_category.rb
137
+ - lib/plenty_client/item/variation/description.rb
138
+ - lib/plenty_client/item/variation/image.rb
139
+ - lib/plenty_client/item/variation/market.rb
140
+ - lib/plenty_client/item/variation/market_ident_number.rb
141
+ - lib/plenty_client/item/variation/sales_price.rb
142
+ - lib/plenty_client/item/variation/sku.rb
143
+ - lib/plenty_client/item/variation/stock.rb
144
+ - lib/plenty_client/item/variation/supplier.rb
145
+ - lib/plenty_client/item/variation/warehouse.rb
146
+ - lib/plenty_client/item/variation_property.rb
147
+ - lib/plenty_client/item/variation_property_value.rb
148
+ - lib/plenty_client/item_set.rb
149
+ - lib/plenty_client/item_set/component.rb
150
+ - lib/plenty_client/item_set/config.rb
151
+ - lib/plenty_client/order.rb
152
+ - lib/plenty_client/order/contact_wish.rb
153
+ - lib/plenty_client/order/coupon_code.rb
154
+ - lib/plenty_client/order/coupon_code/contact.rb
155
+ - lib/plenty_client/order/coupon_code/validation.rb
156
+ - lib/plenty_client/order/currency.rb
157
+ - lib/plenty_client/order/date.rb
158
+ - lib/plenty_client/order/item.rb
159
+ - lib/plenty_client/order/item/date.rb
160
+ - lib/plenty_client/order/item/property.rb
161
+ - lib/plenty_client/order/item/serial_number.rb
162
+ - lib/plenty_client/order/property.rb
163
+ - lib/plenty_client/order/referrer.rb
164
+ - lib/plenty_client/order/shipping.rb
165
+ - lib/plenty_client/order/shipping/country.rb
166
+ - lib/plenty_client/order/shipping/information.rb
167
+ - lib/plenty_client/order/shipping/package.rb
168
+ - lib/plenty_client/order/shipping/profile.rb
169
+ - lib/plenty_client/order/shipping/service_provider.rb
170
+ - lib/plenty_client/request.rb
171
+ - lib/plenty_client/sales_price/account.rb
172
+ - lib/plenty_client/sales_price/country.rb
173
+ - lib/plenty_client/sales_price/currency.rb
174
+ - lib/plenty_client/sales_price/customer_class.rb
175
+ - lib/plenty_client/sales_price/name.rb
176
+ - lib/plenty_client/sales_price/online_store.rb
177
+ - lib/plenty_client/sales_price/referrer.rb
178
+ - lib/plenty_client/version.rb
179
+ - plenty_client.gemspec
180
+ homepage: https://github.com/Dariusch/plenty_client
181
+ licenses:
182
+ - MIT
183
+ metadata: {}
184
+ post_install_message:
185
+ rdoc_options: []
186
+ require_paths:
187
+ - lib
188
+ required_ruby_version: !ruby/object:Gem::Requirement
189
+ requirements:
190
+ - - ">="
191
+ - !ruby/object:Gem::Version
192
+ version: '0'
193
+ required_rubygems_version: !ruby/object:Gem::Requirement
194
+ requirements:
195
+ - - ">="
196
+ - !ruby/object:Gem::Version
197
+ version: '0'
198
+ requirements: []
199
+ rubyforge_project:
200
+ rubygems_version: 2.5.1
201
+ signing_key:
202
+ specification_version: 4
203
+ summary: This is Version 1 of the PlentyMarkets Rest Client for Ruby.
204
+ test_files: []