srfax 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/srfax.rb +2 -2
- data/lib/srfax/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 434691e510ead867729bf95c7196050834dc4a90
|
4
|
+
data.tar.gz: 3bd4ea20fa0213a6453cb9ba6d1b0dad3b53160b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c2cb842ab8b31b3731c8e821b41a934e1779a4bb8f68a0aadda7d28eca9d25a03f862d3ffebc8d67f51990cebb233075f173298918a0ee94243841061661cb0
|
7
|
+
data.tar.gz: a86a87cc66aac3c9602e66ba09bcc80079fc5c72d84dac1ea07dadd65b82e844432226ee56923faf17649f7e9e71e8c92fde1f6daddfb27b83bdcc37d9535186
|
data/lib/srfax.rb
CHANGED
@@ -302,9 +302,9 @@ module SrFax
|
|
302
302
|
# @param postVariables [String] The list of variables to apply in the POST body when executing the request.
|
303
303
|
# @return [Hash] The hash payload value including a proper status. Will never return nil.
|
304
304
|
def execute(postVariables)
|
305
|
-
logger.debug
|
305
|
+
logger.debug defaults.merge(postVariables)
|
306
306
|
# Redirect where necessary.
|
307
|
-
res = RestClient.post(BASE_URL,
|
307
|
+
res = RestClient.post(BASE_URL, defaults.merge(postVariables), { accept: :json })
|
308
308
|
unless res.code == 200
|
309
309
|
return { 'Status' => 'Failed', 'Result' => res.body }.with_indifferent_access
|
310
310
|
end
|
data/lib/srfax/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: srfax
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeff Klink
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-08-
|
13
|
+
date: 2016-08-31 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: minitest
|