smartpay 0.2.9 → 0.2.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f4ad1df668d2bd7e5fd058fca13f0e77c6771fcaf21a9c4efca53ccc1648b4cc
4
- data.tar.gz: 1d3da6d89ecf92bc464f96ac80bff4fc2d71477d33a2f5806bec54943b548cac
3
+ metadata.gz: 12e94e9a107f36c71ff8aebd7b84b003df802033793c19cc5adc418320ea9c2f
4
+ data.tar.gz: 88c3044a95a05a57927ec59df5b78217ee3be450f2fb764f271907dd66d565c8
5
5
  SHA512:
6
- metadata.gz: 5e443965545a854944668db53c27461af096c775827b500a11cf50ccea801398fa457c192d0365ab7aa654d881318cd365b8814536142393e55a50d552fbd457
7
- data.tar.gz: 9a9664306337a7bc9960ca4606a3f35c110556d952a6d33beff736b2af742113856ec7ebf8a60dfc57abf4afa31173972673facb3ec47f7ad4211e440caebd1f
6
+ metadata.gz: 7acc9bba7dcddaafab82fdecdcbe0a74a33a6cae7466241fe154882c19540d415bae65668fd62c04fd6828617f7407eeb23df466bda3427ecb3639b14eb41ee7
7
+ data.tar.gz: 9e1a06d03b2f328e6d2cc466745a102630c8b772b52f30275051c2b1b3edbb9222be205ebc861ccb1676048a447d208a3513b64fa21994588007a74856c88285
@@ -71,6 +71,7 @@ module Smartpay
71
71
 
72
72
  def normalize_shipping(shipping)
73
73
  return if shipping.nil?
74
+ shipping= shipping.transform_keys(&:to_sym)
74
75
  {
75
76
  address: shipping.dig(:address) || {
76
77
  line1: shipping.dig(:line1),
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Smartpay
4
- VERSION = "0.2.9"
4
+ VERSION = "0.2.10"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartpay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Smartpay