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

- old
+ new

@@ -17,10 +17,10 @@ conn.response :xml, content_type: /\bxml$/ conn.response :json, content_type: /\bjson$/ conn.response :raise_error conn.adapter :net_http conn.params = auth_params - conn.headers[:accept] = FORMATS[:json] + conn.headers[:accept] = ACCEPTS[:json] end end def subscriptions @subscriptions ||= Subscriptions.new(self)