tophatter-merchant 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/tophatter_merchant/resource.rb +8 -0
- data/lib/tophatter_merchant/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe79d3d4bd2a101d00eb71a6f61b3ae13256ed48
|
4
|
+
data.tar.gz: 61470d193cb1a0b2405f10273e89c27f1255c91c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ded26ef9f813682252ba880db283547127660a9df03e9bd945b18959e3cef5314548ea0ff927e8fe7a4f1a4f369aff34ce09dd22cfe7b2dd79f30556ec4f164a
|
7
|
+
data.tar.gz: 1eadcab69103aa74b11eb4096d8ef33e28b069e0b18b031305d4efdc0a7f27e1662a73fcb07a218b94a52bcab576905a9f12f06967f5152a4dbb088c9cdd7b76
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.2
|
@@ -5,6 +5,14 @@ module TophatterMerchant
|
|
5
5
|
include ActiveModel::Model
|
6
6
|
|
7
7
|
def initialize(hash)
|
8
|
+
self.attributes = hash
|
9
|
+
end
|
10
|
+
|
11
|
+
def attributes
|
12
|
+
self.class.attributes
|
13
|
+
end
|
14
|
+
|
15
|
+
def attributes=(hash)
|
8
16
|
# Only honor valid attributes.
|
9
17
|
hash.each do |key, value|
|
10
18
|
if respond_to?("#{key}=")
|