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.external_payment_id = info['externalPaymentId']
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 = PaymentMethodProperty.new
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']
@@ -2,7 +2,7 @@ module KillBillClient
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- PATCH = 0
5
+ PATCH = 1
6
6
  PRE = nil
7
7
 
8
8
  VERSION = [MAJOR, MINOR, PATCH, PRE].compact.join('.').freeze
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.0
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: 2738681957006525016
155
+ hash: 372625193439478944
156
156
  requirements: []
157
157
  rubyforge_project:
158
158
  rubygems_version: 1.8.24