tophatter-merchant 1.1.9 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tophatter_merchant/product.rb +5 -0
- data/tophatter-merchant.gemspec +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 385810854efe01aa244ea36219030776f2d10ccd
|
4
|
+
data.tar.gz: 64edbeaa5ed9a96c58d602c53bd1f802ba14643c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9249f05d5af306a9e9ecaaec63f650da483b961777e9992e8d1e288fb30e2ea9897be3c3ede52d0878deca1aecd379418178f1bc5711fb45f618cebf2d131ae
|
7
|
+
data.tar.gz: 6f7a62e84ffe0e40d64d4941dd6df27da7444687b84f3db2e6b9b348c9dce937896215a5465afdf555ceb80c16224cb8195b3bd9a4ef4cfbad6d39d51755c0d6
|
@@ -112,6 +112,11 @@ module TophatterMerchant
|
|
112
112
|
Product.new post(url: "#{path}/enable.json", params: { identifier: id })
|
113
113
|
end
|
114
114
|
|
115
|
+
# ap TophatterMerchant::Product.enable_catalog_only('FOOBAR').to_h
|
116
|
+
def enable_catalog_only(id)
|
117
|
+
Product.new post(url: "#{path}/enable_catalog_only.json", params: { identifier: id })
|
118
|
+
end
|
119
|
+
|
115
120
|
# ap TophatterMerchant::Product.delete('FOOBAR').to_h
|
116
121
|
# NOT DOCUMENTED
|
117
122
|
def delete(id)
|
data/tophatter-merchant.gemspec
CHANGED
@@ -2,10 +2,10 @@
|
|
2
2
|
|
3
3
|
# To publish the next version:
|
4
4
|
# gem build tophatter-merchant.gemspec
|
5
|
-
# gem push tophatter-merchant-
|
5
|
+
# gem push tophatter-merchant-{VERSION}.gem
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = 'tophatter-merchant'
|
8
|
-
s.version = '1.
|
8
|
+
s.version = '1.2.0'
|
9
9
|
s.platform = Gem::Platform::RUBY
|
10
10
|
s.licenses = ['MIT']
|
11
11
|
s.authors = ['Chris Estreich']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tophatter-merchant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Estreich
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|