synapse_payments 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/synapse_payments.rb +6 -0
- data/lib/synapse_payments/user_client.rb +1 -3
- data/lib/synapse_payments/version.rb +1 -1
- data/synapse_payments.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87b8e53a05737dc15b71138d93428e21e59a955d
|
4
|
+
data.tar.gz: 35d0134db2bae2219a1f0cfaae0fa4a18524f17d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44cc26fe873fa9a42eee01960914a7c5d795f81f7c0894d2336023e5444ca2ee1e229673dda3dbd5a5e2396c24965b6d9c4163e35ab08c3290ac7175ae597d8d
|
7
|
+
data.tar.gz: 024c3e4d10414bc40eed6a1795d4b25d56d8f926335c1ea7e1dcc218fe5c8d753aef42bb22b7cf8aa0977e0e24a360040fc9c93592fb71ed16570cc1ae2a62a0
|
data/lib/synapse_payments.rb
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
require 'mime/types'
|
2
|
-
|
3
1
|
module SynapsePayments
|
4
2
|
class UserClient
|
5
3
|
|
@@ -68,7 +66,7 @@ module SynapsePayments
|
|
68
66
|
|
69
67
|
def attach_file(file_path)
|
70
68
|
file_contents = open(file_path) { |f| f.read }
|
71
|
-
file_type =
|
69
|
+
file_type = MIME::Types.type_for(file_path).first.content_type
|
72
70
|
|
73
71
|
data = {
|
74
72
|
doc: {
|
data/synapse_payments.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: synapse_payments
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javier Julio
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
131
|
+
version: '2.9'
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: '
|
138
|
+
version: '2.9'
|
139
139
|
description: Requires Ruby 2.1 and up. Not all API actions are supported. Find out
|
140
140
|
more in the readme todo section.
|
141
141
|
email:
|