lib/pagseguro.rb in pagseguro_next-1.0.2 vs lib/pagseguro.rb in pagseguro_next-1.0.3
- old
+ new
@@ -18,16 +18,16 @@
autoload :Checkout, "pagseguro/checkout"
autoload :Transactions, "pagseguro/transactions"
autoload :Mash, "pagseguro/mash"
ACCEPTS = {
- json: "application/vnd.pagseguro.com.br.v3+xml;charset=ISO-8859-1",
- xml: "application/vnd.pagseguro.com.br.v3+json;charset=ISO-8859-1"
+ json: "application/vnd.pagseguro.com.br.v3+json;charset=ISO-8859-1",
+ xml: "application/vnd.pagseguro.com.br.v3+xml;charset=ISO-8859-1"
}
FORMATS = {
- json: "application/json",
- xml: "application/xml"
+ json: "application/json;charset=ISO-8859-1",
+ xml: "application/xml;charset=ISO-8859-1"
}
mattr_accessor :token
mattr_accessor :email
mattr_accessor :app_id