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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 79b347521a8c8d2f9910e1446797b54e04dff4f722bfc0a5d50f2b44f9f99482
4
- data.tar.gz: 7e2a15f9724e51cc3345d4b53363fe41cecf42f00c0e04be5cf1610ebbd081cf
3
+ metadata.gz: b565cef12ea4bfd25c263d167e006b3d6ca284040204ed371cd60a8abaf16529
4
+ data.tar.gz: f09396232ed789cf81aede695cc282fddd258acdf8b51cd2bf38b9f5d74b5fa0
5
5
  SHA512:
6
- metadata.gz: 109a72ad524b5a52da68fd2d289c07ecefd002b9358567528b4fe9ce48692ab48ac7913b8cbdbab861980d5e153e5f93216711a2f6f10eb58ef78cfb6e08f4eb
7
- data.tar.gz: a3e7168a9c169b5fb854b0380b1f4261b8e141df645539023a90868b045cdb92197e46e5d7de72bde41478f434af011d0f59276ec88d6b4da03fc5865e45a5b4
6
+ metadata.gz: 497d3cf2fcc7799abd110927d9961a90cea68cd56410f696e73a713d2d93d1d4cbffa6f87a8e8a0434efad5d3530abbf5ef9832e3d86ac0f2e657578834f8df0
7
+ data.tar.gz: dd940f1fcb150529b3632a3463882a8089870501b5a2c8e6274795fe4e18abe0c842b1957d4ed5017faa82b251fd32b830316044cf27faf3d90d80e138268648
@@ -0,0 +1,8 @@
1
+ module Selly
2
+ class Categories < Resource
3
+ extend Selly::Operations::List
4
+ extend Selly::Operations::Show
5
+ extend Selly::Operations::Create
6
+ extend Selly::Operations::Update
7
+ end
8
+ end
@@ -1,3 +1,3 @@
1
1
  module Selly
2
- VERSION = '2.0.3'
2
+ VERSION = '2.0.4'.freeze
3
3
  end
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.3
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-07-02 00:00:00.000000000 Z
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
@@ -1,5 +0,0 @@
1
- module Selly
2
- class ExchangeRates < Resource
3
- extend Selly::Operations::List
4
- end
5
- end
@@ -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