mge_wholesale 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mge_wholesale/order.rb +3 -3
- data/lib/mge_wholesale/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ab1f966d78d341a0db7bf32da931fd11ff0ad3c631659dcc5164ccf9f7432cd
|
4
|
+
data.tar.gz: 95be73ee79fe010f1b0f1607813751633789c37ee6a06a78adda52f91141f374
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f71b9d1c62c52d4244abc297d2e58b80d179081ed3560daede5cd9137bf3146b46f78b495a31af8d49908a0af4de2c06830f55c1b723ba0aa468495b1494fa2
|
7
|
+
data.tar.gz: bd7763a8bf57a3573b1590c6f36b626bdf6007bf0a5f0ca3018c6d4aab1120f0134cf07902d660f35e56390d1e9e5a6eb6559e6d1c18b39ead54b5e9dbfd559c
|
data/lib/mge_wholesale/order.rb
CHANGED
@@ -56,12 +56,12 @@ module MgeWholesale
|
|
56
56
|
|
57
57
|
# @param item [Hash]
|
58
58
|
# * :identifier [String] *required*
|
59
|
-
# * :description [String]
|
59
|
+
# * :description [String]
|
60
60
|
# * :upc [String] *required*
|
61
61
|
# * :qty [Integer] *required*
|
62
|
-
# * :price [String]
|
62
|
+
# * :price [String]
|
63
63
|
def add_item(item = {})
|
64
|
-
requires!(item, :identifier, :
|
64
|
+
requires!(item, :identifier, :upc, :qty)
|
65
65
|
@items << item
|
66
66
|
end
|
67
67
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mge_wholesale
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ken Ebling
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|