bseller_ruby 0.1.4 → 0.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fa7ca94a147a6f72d0071718e7b6eeb56fd1ba97
4
- data.tar.gz: 0dbb9619a4863cbabca07733ae8624c85a43c4bf
3
+ metadata.gz: 8a9ee97d7dd5a3545b528d120662617e2a620402
4
+ data.tar.gz: d9435fa9ba66f77d852115f1ee5fc82bd4e38067
5
5
  SHA512:
6
- metadata.gz: c04f920e27c85745352ce2103d0961598b46955191f26c887fbc877e60b83958f65377b5b99ad994d097581b8af59b1ed4e097515779db760eff830b240d9c3b
7
- data.tar.gz: a86ba7a6088788a8594c64d75ae161b79213a68db45d4a7a5277efea115cd2da90b4d4239541bd732f6c501dc7218a09edbb1af51834f129a6d1165dce5331c6
6
+ metadata.gz: fc748de56cc2fce4ec0a2ae421e6245b2b04a3399cf77b82cbf1cf6a01fa073c6250e6f4f63cfd3fc1f56fe4499e13a7c15304568aa9d306dd1df14ba0c5224e
7
+ data.tar.gz: 3d4e530e75330757bf239ed7251431f7efba543f419c8eb5640e660694f587f63278d342ac7fdf9006bc3c2c398359c4f50045c065c1cd26e99a5d48decf94f8
@@ -97,7 +97,7 @@ module BsellerRuby
97
97
 
98
98
  def self.authentication
99
99
  if @method =~ /pagamento/
100
- @authentication ||= { 'idCia' => ws['cia_id'], 'credencial' => { 'usuario' => ws['username'], 'senha' => ws['password'] } }
100
+ @authentication ||= {}
101
101
  else
102
102
  @authentication ||= { 'idCia' => ws['cia_id'], 'usuario' => ws['username'], 'senha' => ws['password'] }
103
103
  @method.to_s.end_with?('pedido') ? {} : @authentication
@@ -1,3 +1,3 @@
1
1
  module BsellerRuby
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bseller_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wesley Conde
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-11-19 00:00:00.000000000 Z
11
+ date: 2015-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: savon