pagseguro-transparente 0.2.0 → 0.2.1

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: c6d9a17bb3227f4fec059c6496f029db3a401056
4
- data.tar.gz: b030e0427c75239ec9d9d779ab258f79ab0e7902
3
+ metadata.gz: 32fff087ac60686db049294df104d2db1875eab0
4
+ data.tar.gz: 26d0e9becb1b90d3f4f20546ad23f13fb9ca2472
5
5
  SHA512:
6
- metadata.gz: 1101539192b9077467a2f133c8f6234573bfcf471f3d7ff447c82f3904e13f1b87197204eaad12958b3d128ca4a1576a2c1a1af3398d3587321301a7499091c7
7
- data.tar.gz: 64f1444db3180da20b647c1ff3e5a7377d3ebf33f477c9ae63a8db85b7aeaecc41fb7c21a66012dbe0e5f1411ddd740ea9531f7b9b615e733b5bd47700ed32ec
6
+ metadata.gz: 3da92e0f9f634f599d700b64eef5c8cfe79d0a6163117deea4a3f7a22e3a306838468567f043a25281e0d64d6f72ea5f4ffc69a5a6802f799b77d4673ae8da85
7
+ data.tar.gz: bf29fb0b85366f3a1e4b7839f3cc9077a2d43a38e06a4d8f057ef2511a6c228a66f022844f19d74438a514bef7a0eaf72322efbf6143a6c086e691170edce2cb
@@ -10,10 +10,6 @@ module PagSeguro
10
10
  end
11
11
 
12
12
  def to_params
13
- params[:email] = PagSeguro.email
14
- params[:token] = PagSeguro.token
15
-
16
-
17
13
  params[:notificationURL] = payment.notification_url
18
14
  params[:currency] = payment.currency
19
15
  params[:paymentMethod] = payment.payment_method
@@ -19,7 +19,7 @@ module PagSeguro
19
19
  end
20
20
 
21
21
  private
22
- def add_credencials(account, params = nil)
22
+ def add_credencials(account)
23
23
  if account == "alternative"
24
24
  { email: PagSeguro.alt_email, token: PagSeguro.alt_token }
25
25
  else
@@ -1,3 +1,3 @@
1
1
  module PagSeguro
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -81,8 +81,6 @@ describe PagSeguro::Payment::Serializer do
81
81
 
82
82
  let(:bank) { PagSeguro::Bank.new('bancodobrasil') }
83
83
 
84
- it { subject[:email].should eq('pagseguro@eventick.com.br') }
85
- it { subject[:token].should eq('my_token') }
86
84
  it { subject[:paymentMode].should eq('default') }
87
85
  it { subject[:paymentMethod].should eq('boleto') }
88
86
  it { subject[:currency].should eq('BRL') }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pagseguro-transparente
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cirdes Henrique