soullab 0.0.2 → 0.0.3

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 (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/soullab.rb +8 -9
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 08aa117a5244f9e69a4f11b21ac6abac7506d8fd
4
- data.tar.gz: 783d22d16508e223bb800413c57ed2897f2ea60e
3
+ metadata.gz: 4312e7b4276dc63cb19459356b5d70d74de926c5
4
+ data.tar.gz: b44052685ee95b04059b1ff465f089fd289d7e28
5
5
  SHA512:
6
- metadata.gz: 9baf673f1b52ad24bb9f659944f9d3f0ed568f88bbf15f60779436edfaaf0481588057a79976ca5de6253e3e1a1b8f4348fbad266fcaa34f4948ff29112e094f
7
- data.tar.gz: 7c6855675d8e7a986dd805c2cbf0113a4120a35123d8e7c3c9937f26631f4b45a8b254733ec462eadf1ba99a7f44f9f54118a1644e3eabd84cd24b8cf2b3f844
6
+ metadata.gz: d4b31a8b11314de47f6fc1952537cfc63c2a127017228041456f4a642db4cee9e9a2b1abf29761ff7a8d65b943babf0df1aef2695e935ce3d7b2cb8767ce725d
7
+ data.tar.gz: 3cac52e156aba203e53d2de4d98ab18d49f3a665354c9e0c19f2b52f1bd35ae7a15c2faac305473d84c35abc35dc7dcdaeccc51a2cc9a5ac28ee5e218593d04b
@@ -160,15 +160,14 @@ class Soullab
160
160
  :accept => :json
161
161
  )
162
162
 
163
- wsreturn = JSON.parse(response.body)
164
-
165
- begin
166
- raise CampoInvalido.new("login","Este parâmetro deve ser alfanumérico") if wsreturn['message'] == "23"
167
- rescue CampoInvalido => e
168
- puts "campo: #{e.campo}"
169
- puts "motivo: #{e.motivo}"
170
- end
171
-
163
+ #wsreturn = JSON.parse(response.body)
164
+ #begin
165
+ #raise CampoInvalido.new("login","Este parâmetro deve ser alfanumérico") if wsreturn['message'] == "23"
166
+ #rescue CampoInvalido => e
167
+ #puts "campo: #{e.campo}"
168
+ #puts "motivo: #{e.motivo}"
169
+ #end
170
+
172
171
  return JSON.parse(response.body)
173
172
  end
174
173
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soullab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Augusto Russo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-25 00:00:00.000000000 Z
11
+ date: 2016-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: restclient
@@ -53,7 +53,7 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: 3.2.4
55
55
  description: 'Want to integrate your system with soullab? This gem provides all you
56
- need. Know more about soullab at: www.soullab.com.br'
56
+ need. Know more about soullab at: www.soullab.com.br and see docs at www.soullab.com.br/integracaoRuby'
57
57
  email: augusto.russo@inovaz.com.br
58
58
  executables: []
59
59
  extensions: []