lib/pagseguro.rb in pagseguro_next-1.0.1 vs lib/pagseguro.rb in pagseguro_next-1.0.2

- old
+ new

@@ -17,12 +17,17 @@ autoload :Authorizations, "pagseguro/authorizations" 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" + } + FORMATS = { - json: "application/vnd.pagseguro.com.br.v3+json;charset=ISO-8859-1", - xml: "application/xml;charset=ISO-8859-1" + json: "application/json", + xml: "application/xml" } mattr_accessor :token mattr_accessor :email mattr_accessor :app_id