Skip to content

Commit 3cb000a

Browse files
author
Sunny Raj Rathod
authored
Merge pull request #98 from AuthorizeNet/future
merging future branch for new release.
2 parents 372f4ce + ed29994 commit 3cb000a

3 files changed

Lines changed: 12 additions & 8 deletions

File tree

authorizenet.gemspec

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Gem::Specification.new do |s|
22
s.name = "authorizenet"
3-
s.version = "1.9.0.1"
3+
s.version = "1.9.0.2"
44
s.platform = Gem::Platform::RUBY
5-
s.date = "2016-08-12"
5+
s.date = "2016-10-20"
66
s.summary = "Authorize.Net Payments SDK"
77
s.description = "Authorize.Net SDK includes standard payments, recurring billing, and customer profiles"
88
s.authors = ["Authorize.Net"]
@@ -14,7 +14,11 @@ Gem::Specification.new do |s|
1414
s.required_ruby_version = '>= 2.1.0'
1515
s.required_rubygems_version = '>= 1.3.6'
1616

17-
s.add_runtime_dependency 'activesupport', '= 4.2.6'
17+
if RUBY_VERSION < '2.2'
18+
s.add_runtime_dependency 'activesupport', '= 4.2.6'
19+
else
20+
s.add_runtime_dependency 'activesupport', '>= 4.2.6'
21+
end
1822
s.add_runtime_dependency 'nokogiri', '~> 1.6', '>= 1.6.4'
1923
s.add_runtime_dependency "roxml", "= 3.3.1"
2024

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
clientId: sdk-ruby-1.9.0.1
1+
clientId: sdk-ruby-1.9.0.2

lib/authorize_net/api/schema.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,8 +1183,8 @@ class CustomerProfileType
11831183
xml_accessor :merchantCustomerId
11841184
xml_accessor :description
11851185
xml_accessor :email
1186-
xml_accessor :paymentProfiles
1187-
xml_accessor :shipToList
1186+
xml_accessor :paymentProfiles, :from => 'paymentProfiles', :as => [CustomerPaymentProfileType]
1187+
xml_accessor :shipToList, :from => 'shipToList', :as => [CustomerAddressType]
11881188

11891189
def initialize(merchantCustomerId = nil, description = nil, email = nil, paymentProfiles = [], shipToList = [])
11901190
@merchantCustomerId = merchantCustomerId
@@ -2961,8 +2961,8 @@ class CreateCustomerProfileResponse
29612961
xml_accessor :messages, :as => MessagesType
29622962
xml_accessor :sessionToken
29632963
xml_accessor :customerProfileId
2964-
xml_accessor :customerPaymentProfileIdList
2965-
xml_accessor :customerShippingAddressIdList
2964+
xml_accessor :customerPaymentProfileIdList, :as => NumericStringsType
2965+
xml_accessor :customerShippingAddressIdList, :as => NumericStringsType
29662966
xml_accessor :validationDirectResponseList
29672967

29682968
def initialize(refId = nil, messages = nil, sessionToken = nil, customerProfileId = nil, customerPaymentProfileIdList = nil, customerShippingAddressIdList = nil, validationDirectResponseList = nil)

0 commit comments

Comments
 (0)