lib/pagseguro/transactions.rb in pagseguro_next-1.0.2 vs lib/pagseguro/transactions.rb in pagseguro_next-1.0.3

- old
+ new

@@ -16,14 +16,14 @@ "8" => :chargeback_charged, "9" => :contested } def find(code) - transform get_xml("/v3/transactions/#{code}") + transform get("/v3/transactions/#{code}", nil, xml: :simple) end def find_by_notification_code(code) - transform get_xml("/v2/transactions/notifications/#{code}") + transform get("/v2/transactions/notifications/#{code}", nil, xml: :simple) end private def transform(body) if body.transaction?