pagseguro_v2 0.0.5 → 0.0.6

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.
data/README.md CHANGED
@@ -1,12 +1,11 @@
1
1
  # PagSeguro V2
2
2
 
3
- PagSeguro gem for API version 2
3
+ PagSeguro is a Brazilian payment gateway. This gem for their version 2 API.
4
4
 
5
5
  ## Instalação
6
6
 
7
7
  No Gemfile
8
8
 
9
-
10
9
  ```ruby
11
10
 
12
11
  gem "pagseguro_v2"
@@ -20,15 +19,20 @@ Ou via RubyGems, diretamente:
20
19
 
21
20
  ## Uso
22
21
 
22
+ ## API
23
23
 
24
- ## Autores
24
+ We strongly suggest you to check the PagSeguro API Documentation, in this gem we kept their nomenclature for objects
25
+ https://pagseguro.uol.com.br/v2/guia-de-integracao/visao-geral.html
25
26
 
26
- * Cirdes Henrique - cirdes@eventick.br
27
+ ## Authors
27
28
 
29
+ * Cirdes Henrique - cirdes@eventick.br
28
30
  * Thiago Diniz - thiago@eventick.com.br
29
31
 
30
32
  ## Contribuindo
33
+ * Rodrigo Alves - rodrigovieira1994@gmail.com
34
+ * Guilherme Barreto - guilherme@eventick.com.br
31
35
 
32
- ## Licença
36
+ ## License
33
37
 
34
- A gem PagSeguro V2 está sob a licença do MIT com atribuições ao Eventick http://eventick.com.br/
38
+ A gem PagSeguro V2 está sob a licença do MIT com atribuições ao Eventick http://eventick.com.br/
@@ -78,6 +78,10 @@ module PagseguroV2
78
78
  url
79
79
  end
80
80
 
81
+ def self.url(code)
82
+ PagseguroV2::Config::REDIRECT_URL + code
83
+ end
84
+
81
85
  def to_hash(options = {})
82
86
  sender = self.delete "sender"
83
87
  shipping = self.delete "shipping"
@@ -1,3 +1,3 @@
1
1
  module PagseguroV2
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pagseguro_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-03-22 00:00:00.000000000 Z
13
+ date: 2013-06-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: nokogiri