pagseguro-transparente 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ebda30cadd5db85f98b1335e85dd2612dbec565b
4
- data.tar.gz: 7b8998748af2faf8d6e0acc4eb17913740e26545
3
+ metadata.gz: 240aa0272c092fe52489f17548b224d1b4d630fe
4
+ data.tar.gz: 259fba6f4c7b508a839cdade72733b8990cf5c12
5
5
  SHA512:
6
- metadata.gz: bc08c15df8a20e2647fe9e31afe30a5c0be10cc03a4650d2ec73aadc7fbfa93c87f64302df1fc53dceda9d3569e9c908d5f6e34113ac1613df1bcb0f1ff7452c
7
- data.tar.gz: 9affd7312cf59c8a4443c60d2b839b7901bb56dc00ced5cd46a5f68227d54e377e2da8ef8c801dd0bee92255b8d43d1d86f6b383031d8e60c0eb988f694c5ddd
6
+ metadata.gz: 6d6441e7b0028ed9f217df0137e820dd922d7acf73ec1042f1a8f5523a4d7b85c2a754c721be60aed0f62cd6b3b866cbfcfaa225e25a7e733ff26aa10cdc1af3
7
+ data.tar.gz: ce98c5a032cfa814b14b79b0a4fe902999543a21e5c4e5d823e30f9406a9aa885e909ef887587cffba20d9af4ec447a099faeb6b22028ecb0157f45af160228e
@@ -7,8 +7,12 @@ module PagSeguro
7
7
 
8
8
  base_uri "https://ws.pagseguro.uol.com.br/v2/"
9
9
 
10
- def get(path, email, token, params = {})
11
- options = add_credencials(email, token, params)
10
+ def get(path, email, token)
11
+ options = { query: {
12
+ email: email || PagSeguro.email,
13
+ token: token || PagSeguro.token
14
+ }
15
+ }
12
16
  self.class.get(path, options)
13
17
  end
14
18
 
@@ -1,3 +1,3 @@
1
1
  module PagSeguro
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pagseguro-transparente
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
  - Cirdes Henrique
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-12 00:00:00.000000000 Z
11
+ date: 2014-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel