activemerchant-kiddy 1.15.0.kiddy → 1.15.0.kiddy.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -158,6 +158,7 @@ module ActiveMerchant #:nodoc:
158
158
  add_invoice(post, options)
159
159
  add_duplicate_window(post)
160
160
  add_market_type(post, options)
161
+ add_device_type(post, options)
161
162
 
162
163
  commit('CREDIT', money, post)
163
164
  end
@@ -346,6 +347,12 @@ module ActiveMerchant #:nodoc:
346
347
  post[:market_type] = options[:market_type].to_s
347
348
  end
348
349
  end
350
+
351
+ def add_device_type(post, options)
352
+ if options[:device_type]
353
+ post[:device_type] = options[:device_type].to_s
354
+ end
355
+ end
349
356
 
350
357
  def add_address(post, options)
351
358
  if address = options[:billing_address] || options[:address]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: activemerchant-kiddy
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 7
5
- version: 1.15.0.kiddy
5
+ version: 1.15.0.kiddy.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Tobias Luetke
@@ -252,7 +252,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
252
252
  requirements:
253
253
  - - ">="
254
254
  - !ruby/object:Gem::Version
255
- hash: 174820702182982871
255
+ hash: 3161608653522630733
256
256
  segments:
257
257
  - 0
258
258
  version: "0"