mpower 1.0.4 → 1.0.5

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.
@@ -40,7 +40,7 @@ module MPower
40
40
  end
41
41
 
42
42
  def add_custom_data(key,value)
43
- @custom_data[key] = value
43
+ @custom_data["#{key}"] = value
44
44
  end
45
45
 
46
46
  def get_items
@@ -56,7 +56,7 @@ module MPower
56
56
  end
57
57
 
58
58
  def get_custom_data(key)
59
- @custom_data["#{name}"]
59
+ @custom_data["#{key}"]
60
60
  end
61
61
 
62
62
  def confirm(token)
@@ -107,6 +107,7 @@ module MPower
107
107
  :logo_url => @store.logo_url,
108
108
  :website_url => @store.website_url
109
109
  },
110
+ :custom_data => @custom_data,
110
111
  :actions => {
111
112
  :cancel_url => @cancel_url,
112
113
  :return_url => @return_url
@@ -1,3 +1,3 @@
1
1
  module MPower
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mpower
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: