splash_payments 0.0.3 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7d23685976a8b899b414cf92e58502bc6ba8645
4
- data.tar.gz: 43aaa084164eb88088ac60233fe63f8a4005b1b8
3
+ metadata.gz: b3bb1303b7c628ab69fcbec04c2016e92e0fae6b
4
+ data.tar.gz: ef9f00297f400549e5162bac8c33d257ab3d1364
5
5
  SHA512:
6
- metadata.gz: f51196e670acccdfa3b4fe05311f0588cc23e405de9706d613ff0f45e3acd9f46630f82571b7882de5e0dfbb6127d0b4d458b334df23ea0635a0db072de05982
7
- data.tar.gz: 8e3487a36bc6ff465a75f46dd06fc21ec073bbfb18e800f1426ef5e897a625ad5d7d1ee86ea5e5f486f25c856e6f18dd99c0b481f516245178e8f06491aff3f2
6
+ metadata.gz: 9d980a4009dad58f49829278de011bea3d8c6e6e66316718fbec5167cdad80fb5599c2c74676fe2c6588c55b0e395becea7a3c389b3fd507e4100dc4f3751b5e
7
+ data.tar.gz: 16c142db862bec396bfdc194aefe26ccfdda3cd854a2115ac8979782161540bdea49d39ee266085e30147d7076fb3748fae40b088115f3cc276e84b6da66fcde
@@ -11,13 +11,13 @@ module SplashPayments
11
11
  result['response']['data']
12
12
  end
13
13
 
14
- def self.create(params = {})
15
- result = Client.new.request('post', '/customers', params)
14
+ def self.create(customer_params)
15
+ result = Client.new.request('post', '/customers', customer_params)
16
16
  result['response']['data']
17
17
  end
18
18
 
19
- def self.update(id, params = {})
20
- result = Client.new.request('put', "/customers/#{id}", params)
19
+ def self.update(id, customer_params)
20
+ result = Client.new.request('put', "/customers/#{id}", customer_params)
21
21
  result['response']['data']
22
22
  end
23
23
 
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
  Gem::Specification.new do |s|
3
3
  s.name = 'splash_payments'
4
- s.version = '0.0.3'
4
+ s.version = '0.1.0'
5
5
  s.date = '2017-07-20'
6
6
  s.summary = 'Ruby bindings for the Splash Payments API'
7
7
  s.description = 'Ruby bindings for the Splash Payments API'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: splash_payments
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Merritt