Sha256: 8c668f52283e3305636b068ed0365fd4a5cdaa028102f89a816517ccc42c1b35

Contents?: true

Size: 294 Bytes

Versions: 6

Compression:

Stored size: 294 Bytes

Contents

module RestClient
  module Jogger
    module Filters
      class Xml < RestClient::Jogger::Filters::Base

      private

        def filter_data(filter)
          data.gsub! /<#{filter}>(.*)<\/#{filter}>/, %{<#{filter}>#{filter_replacement}</#{filter}>}
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rest-client-jogger-1.1.0 lib/rest_client/jogger/filters/xml.rb
rest-client-jogger-1.0.1 lib/rest_client/jogger/filters/xml.rb
rest-client-jogger-1.0.0 lib/rest_client/jogger/filters/xml.rb
rest-client-jogger-0.3.5 lib/rest_client/jogger/filters/xml.rb
rest-client-jogger-0.3.4 lib/rest_client/jogger/filters/xml.rb
rest-client-jogger-0.3.3 lib/rest_client/jogger/filters/xml.rb