selly 2.0.3 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/selly/categories.rb +8 -0
- data/lib/selly/version.rb +1 -1
- metadata +3 -4
- data/lib/selly/exchange_rates.rb +0 -5
- data/lib/selly/product_groups.rb +0 -16
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b565cef12ea4bfd25c263d167e006b3d6ca284040204ed371cd60a8abaf16529
|
|
4
|
+
data.tar.gz: f09396232ed789cf81aede695cc282fddd258acdf8b51cd2bf38b9f5d74b5fa0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 497d3cf2fcc7799abd110927d9961a90cea68cd56410f696e73a713d2d93d1d4cbffa6f87a8e8a0434efad5d3530abbf5ef9832e3d86ac0f2e657578834f8df0
|
|
7
|
+
data.tar.gz: dd940f1fcb150529b3632a3463882a8089870501b5a2c8e6274795fe4e18abe0c842b1957d4ed5017faa82b251fd32b830316044cf27faf3d90d80e138268648
|
data/lib/selly/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: selly
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Selly
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-12-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: http
|
|
@@ -69,15 +69,14 @@ files:
|
|
|
69
69
|
- bin/setup
|
|
70
70
|
- lib/selly.rb
|
|
71
71
|
- lib/selly/blacklist.rb
|
|
72
|
+
- lib/selly/categories.rb
|
|
72
73
|
- lib/selly/coupons.rb
|
|
73
|
-
- lib/selly/exchange_rates.rb
|
|
74
74
|
- lib/selly/operations/create.rb
|
|
75
75
|
- lib/selly/operations/list.rb
|
|
76
76
|
- lib/selly/operations/show.rb
|
|
77
77
|
- lib/selly/operations/update.rb
|
|
78
78
|
- lib/selly/orders.rb
|
|
79
79
|
- lib/selly/pay.rb
|
|
80
|
-
- lib/selly/product_groups.rb
|
|
81
80
|
- lib/selly/products.rb
|
|
82
81
|
- lib/selly/resource.rb
|
|
83
82
|
- lib/selly/selly_error.rb
|
data/lib/selly/exchange_rates.rb
DELETED
data/lib/selly/product_groups.rb
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
module Selly
|
|
2
|
-
class ProductGroups < Resource
|
|
3
|
-
extend Selly::Operations::List
|
|
4
|
-
extend Selly::Operations::Show
|
|
5
|
-
extend Selly::Operations::Create
|
|
6
|
-
extend Selly::Operations::Update
|
|
7
|
-
|
|
8
|
-
def create(params)
|
|
9
|
-
super({product_group: params})
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
def update(id, params)
|
|
13
|
-
super(id, {product_group: params})
|
|
14
|
-
end
|
|
15
|
-
end
|
|
16
|
-
end
|