killbill-client 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -65,7 +65,7 @@ module KillBillClient
|
|
65
65
|
@plugin_info.properties = []
|
66
66
|
return if info.nil?
|
67
67
|
|
68
|
-
@plugin_info.
|
68
|
+
info.each { |k, v| @plugin_info.send("#{Utils.underscore k}=", v) unless k == 'properties' }
|
69
69
|
|
70
70
|
if info['properties'].nil?
|
71
71
|
# Convenience method to create properties to add a payment method
|
@@ -79,7 +79,7 @@ module KillBillClient
|
|
79
79
|
else
|
80
80
|
# De-serialization from JSON payload
|
81
81
|
info['properties'].each do |property_json|
|
82
|
-
property =
|
82
|
+
property = PaymentMethodProperties.new
|
83
83
|
property.key = property_json['key']
|
84
84
|
property.value = property_json['value']
|
85
85
|
property.is_updatable = property_json['isUpdatable']
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: killbill-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
152
152
|
version: '0'
|
153
153
|
segments:
|
154
154
|
- 0
|
155
|
-
hash:
|
155
|
+
hash: 372625193439478944
|
156
156
|
requirements: []
|
157
157
|
rubyforge_project:
|
158
158
|
rubygems_version: 1.8.24
|