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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 75730e4724f4e6b9227197c0dada5fa3a273118e
4
- data.tar.gz: aa6621873c6c3592aa39092166b92204de4bf4d0
3
+ metadata.gz: fe79d3d4bd2a101d00eb71a6f61b3ae13256ed48
4
+ data.tar.gz: 61470d193cb1a0b2405f10273e89c27f1255c91c
5
5
  SHA512:
6
- metadata.gz: 6b414c775476118e1776c34e1b9eb57d70e73f3c8a94ba49c783d08bd2a65e085a2d3e99b9efa00f522ce3a0af7a124b4b115fb669a59e415be68a15996b3d2d
7
- data.tar.gz: f616055d289707ca5d633cc624312acf73d66c9c16ad19c9d291d63001398a5d2c0dfb0dcc1b42a1e7ac0036229f6dc62db49018fac884906a9a8091168116b4
6
+ metadata.gz: ded26ef9f813682252ba880db283547127660a9df03e9bd945b18959e3cef5314548ea0ff927e8fe7a4f1a4f369aff34ce09dd22cfe7b2dd79f30556ec4f164a
7
+ data.tar.gz: 1eadcab69103aa74b11eb4096d8ef33e28b069e0b18b031305d4efdc0a7f27e1662a73fcb07a218b94a52bcab576905a9f12f06967f5152a4dbb088c9cdd7b76
data/VERSION CHANGED
@@ -1 +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}=")
@@ -1,3 +1,3 @@
1
1
  module TophatterMerchant
2
- VERSION = '1.1.1'.freeze
2
+ VERSION = '1.1.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tophatter-merchant
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Estreich