srfax 0.5.4 → 0.5.5

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/srfax.rb +2 -2
  3. data/lib/srfax/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f052ff2c7d6b8df079d1af3b7635fea4296a7f3b
4
- data.tar.gz: 55c3a25872b7de1d1ba011ece8e5925165a11167
3
+ metadata.gz: 434691e510ead867729bf95c7196050834dc4a90
4
+ data.tar.gz: 3bd4ea20fa0213a6453cb9ba6d1b0dad3b53160b
5
5
  SHA512:
6
- metadata.gz: 4ff06ed6c0b6e42684ec6dcbbecb524b4cea8b46f8d805cc60e9c3f56cf8c119b36a28a96443b9724309707a5de46726feaa90022589f8dca820a3b5e5fbab54
7
- data.tar.gz: e9c34df6e76162790fe55cc7ff751230e4c283c7c50a49000f1fd0dbe0cb18efa967a175e04175887d081333e67863abeda307044eb45f1ffe1d8a2b558a68e0
6
+ metadata.gz: 7c2cb842ab8b31b3731c8e821b41a934e1779a4bb8f68a0aadda7d28eca9d25a03f862d3ffebc8d67f51990cebb233075f173298918a0ee94243841061661cb0
7
+ data.tar.gz: a86a87cc66aac3c9602e66ba09bcc80079fc5c72d84dac1ea07dadd65b82e844432226ee56923faf17649f7e9e71e8c92fde1f6daddfb27b83bdcc37d9535186
@@ -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 postVariables.merge(defaults)
305
+ logger.debug defaults.merge(postVariables)
306
306
  # Redirect where necessary.
307
- res = RestClient.post(BASE_URL, postVariables.merge(defaults), { accept: :json })
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
@@ -1,3 +1,3 @@
1
1
  module SrFax
2
- VERSION = '0.5.4'.freeze
2
+ VERSION = '0.5.5'.freeze
3
3
  end
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
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-19 00:00:00.000000000 Z
13
+ date: 2016-08-31 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: minitest