lib/datatrans/xml/transaction/response.rb in datatrans-5.1.0 vs lib/datatrans/xml/transaction/response.rb in datatrans-5.2.0

- old
+ new

@@ -1,14 +1,16 @@ class Datatrans::XML::Transaction class Response attr_reader :params, :datatrans def initialize(datatrans, params) + warn "DEPRECATION WARNING: Support for the XML API is deprecated and will be removed in the next major version. Please use the JSON API instead." + @datatrans = datatrans @params = params end def successful? - raise 'overwrite in subclass!' + raise "overwrite in subclass!" end end -end \ No newline at end of file +end